title: Access to foreach variable in closure warning
body: <p>I'm getting the following warning:</p>
  
  <blockquote>
    <p>Access to foreach variable in closure. May have different behaviour when compiled with different versions of compiler.</p>
  </blockquote>
  
  <p>This is what it looks like in my editor:</p>
  
  <p><img src="https://i.stack.imgur.com/un2ch.png" alt="abovementioned error message in a hover popup"></p>
  
  <p>I know how fix this warning, but I want know why would I get this warning?</p>
  
  <p>Is this about the "CLR" version? Is it related to "IL"?</p>