[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0230.cs
index 23ac662d5a08db4aec44d861d582130185484759..c330d083788c07c3f4d44304ae0fc6352222fe75 100644 (file)
@@ -1,5 +1,5 @@
-// CS0230.cs: Type and identifier are both required in a foreach statement
-// Lise: 12
+// CS0230: Type and identifier are both required in a foreach statement
+// Line: 12
 
 using System;
 
@@ -9,7 +9,7 @@ class X
        {
                int [] a = new int [5] {5, 4, 3, 2, 1};
                
-               foreach (int in a) {
+               foreach (int ) {
                        Console.WriteLine (x);
                }
        }