[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git] / mcs / errors / cs0065.cs
index 6b5bad7f1401eba4a2e08e0acd2e0879e03e6e27..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 {