X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs1041.cs;h=a770876f70f0c377f4eb8fef36cd3c32440640e0;hb=cfa6ff88d1d55bb54aa6cb25a26dbabe00e9db83;hp=3e2ad89c3a71c90c4b02630bf560e8f05d1f633c;hpb=a097b5471761180c4aae2dab224ed9caeeae3e86;p=mono.git diff --git a/mcs/errors/cs1041.cs b/mcs/errors/cs1041.cs index 3e2ad89c3a7..a770876f70f 100644 --- a/mcs/errors/cs1041.cs +++ b/mcs/errors/cs1041.cs @@ -1,6 +1,15 @@ -// cs1041.cs: Identifier expected: `int' is a keyword -// Line: 5 +// CS1041: Identifier expected, `foreach' is a keyword +// Line: 11 -public class Test { - void T (int int) {} +public partial class Log +{ + void Update (object[] h) + { + if (h == null) + return; + + logstore. + foreach (var rev in h) { + } + } }