Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0069.cs
index dfbe7fc3094559abdff0f787de951a6b411cf87a..70511c3c96d37e052206075fecce39777d0de9c4 100644 (file)
@@ -1,16 +1,12 @@
-// cs0069.cs: Event cannot have add or remove accessors in an interface.
+// CS0069: Event in interface cannot have add or remove accessors
 // Line: 13
 
 using System;
 
-class ErrorCS0069 {
-       public delegate void FooHandler ();
-       public static void Main () {
-       }
-}
+public delegate void FooHandler ();
 
 interface IBar {
-       event OnFoo {
+       event FooHandler OnFoo {
                add { }
                remove { }
        }