locking the object inside a property, c#
<pre><code>public ArrayList InputBuffer
{
    get { lock (this.in_buffer) { return this.in_buffer; } }
}
</code></pre>

<p>is this.in_buffer locked during a call to InputBuffer.Clear?</p>

<p>or does the property simply lock the in_buffer object while it's getting the reference to it; the lock exits, and then that reference is used to Clear?</p>
