Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0230.cs
old mode 100755 (executable)
new mode 100644 (file)
index d79d153..c330d08
@@ -1,6 +1,5 @@
-//
-// CS0230.cs: foreach statement must contain the type and the variable identifier
-//
+// CS0230: Type and identifier are both required in a foreach statement
+// Line: 12
 
 using System;
 
@@ -10,7 +9,7 @@ class X
        {
                int [] a = new int [5] {5, 4, 3, 2, 1};
                
-               foreach (int in a) {
+               foreach (int ) {
                        Console.WriteLine (x);
                }
        }