X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0230.cs;h=c330d083788c07c3f4d44304ae0fc6352222fe75;hb=919824ddd436a6b13f994c77e9910045fa729d16;hp=d79d153a357e884730399b25b78f7eeec2bfcba1;hpb=0a09faca2e4c3d910ebd40d205b9308a33b5f474;p=mono.git diff --git a/mcs/errors/cs0230.cs b/mcs/errors/cs0230.cs old mode 100755 new mode 100644 index d79d153a357..c330d083788 --- a/mcs/errors/cs0230.cs +++ b/mcs/errors/cs0230.cs @@ -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); } }