Merge pull request #4926 from BrzVlad/fix-tls-v5
[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++;