[xbuild] Remove ErrorTest.TestExecute1()
[mono.git] / mcs / errors / cs0065.cs
index 8a0e08fe40ca36d18096d33638b38be8bd6daaa1..ef442674949278e6be06a73d72948b478aa701f0 100644 (file)
@@ -1,4 +1,4 @@
-// cs0065.cs: 'EventClass.handler' : event property must have both add and remove accessors
+// CS0065: `EventClass.handler': event property must have both add and remove accessors
 // Line : 9
 
 using System;
@@ -6,7 +6,7 @@ using System;
 public delegate void EventHandler (object sender, EventArgs e);
 
 public class EventClass {
-        event EventHandler handler {}
+        event EventHandler handler { add; }
 }
 
 public class MainClass {