Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mcs / errors / cs1041.cs
index 71defe7ccbcbc5fae21a5e9545994854f45f98fd..a770876f70f0c377f4eb8fef36cd3c32440640e0 100644 (file)
@@ -1,14 +1,15 @@
-// warning CS1041: Identifier expected, 'true' is a keyword
-// warning CS1041: Identifier expected, 'catch' is a keyword
-// Compiler options: -warnaserror -doc:dummy.xml
+// CS1041: Identifier expected, `foreach' is a keyword
+// Line: 11
 
-/// <summary><see cref="true" />, <see cref="catch" /></summary>
-public enum Test {
-        /// <summary>Maybe</summary>
-        @true,
-
-        /// <summary>Maybe</summary>
-        @catch
+public partial class Log
+{
+       void Update (object[] h)
+       {
+               if (h == null)
+                       return;
+               
+               logstore.
+               foreach (var rev in h) {
+               }
+       }
 }
-
-class Foo { static void Main () {} }