title: What does "access to disposed closure" mean here?
body: <p>Why does Resharper warn me about "access to disposed closure" in the following code sample:</p>
  
  <pre><code>using (SqlCommand command = new SqlCommand())
  {
      command.Parameters.Add("@temp", SqlDbType.VarChar);
      Action&lt;string&gt; action = str =&gt;
          {
              command.Parameters["@temp"].Value = string.Empty;
          };
  }
  </code></pre>
  
  <p>I don't use delegate outside <code>using</code> statement... How to fix this?</p>