Add name reference test (not working).
[mono.git] / mcs / errors / cs0079-2.cs
index 50c30845c8e319f51dbeec586366a297a73e5223..3116e51d926ccfbcd5de1329a28595bfa881687b 100644 (file)
@@ -1,18 +1,18 @@
-// CS0079: The event `Foo.Event2' can only appear on the left hand side of += or -=\r
-// Line: 11\r
-\r
-using System;\r
-\r
-public class Foo {\r
-       EventHandler event2;\r
-\r
-       public Foo ()\r
-       {\r
-               Event2 = null;\r
-       }\r
-\r
-       public event EventHandler Event2 {\r
-               add { event2 += value; }\r
-               remove {event2 -= value; }\r
-       }\r
-}\r
+// CS0079: The event `Foo.Event2' can only appear on the left hand side of `+=' or `-=' operator
+// Line: 11
+
+using System;
+
+public class Foo {
+       EventHandler event2;
+
+       public Foo ()
+       {
+               Event2 = null;
+       }
+
+       public event EventHandler Event2 {
+               add { event2 += value; }
+               remove {event2 -= value; }
+       }
+}