I'm getting the following warning:

Access to foreach variable in closure. May have different behaviour when compiled with different versions of compiler.

This is what it looks like in my editor:

abovementioned error message in a hover popup

I know how fix this warning, but I want know why would I get this warning?

Is this about the "CLR" version? Is it related to "IL"?

Edit
Report