title: c# lock return/continue/break
body: <p>If I have the following code:</p>
  
  <pre><code>lock(SyncRoot){ return value; }
  </code></pre>
  
  <p>Will the SyncRoot be unlocked before the return statement?</p>
  
  <p>I tried walking through the code in VS2005, but it doesn't actually show one way or another.  It looks like it DOES unlock it, but I want to make sure.</p>