"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs1656-6.cs
blob10aadebeaacefe265e6074ecfdbe4ce5dfceee92
1 // CS1656: Cannot assign to `i' because it is a `foreach iteration variable'
2 // Line: 9
4 class Test
6 static void Main ()
8 foreach (int i in new int[] { 1, 2})
9 i++;