[xbuild] Remove ErrorTest.TestExecute1()
[mono.git] / mcs / errors / cs0071.cs
index 2ebccf4c67c77f35cd96eadf27213db833a8cb98..f39c9e9455397936a97a4b89f2d6eed56c2ffa02 100644 (file)
@@ -1,4 +1,4 @@
-// cs0071.cs: An explicit implementation of an event must use property syntax.
+// CS0071: `ErrorCS0071.IFoo.OnFoo': An explicit interface implementation of an event must use property syntax
 // Line: 13
 
 using System;
@@ -10,8 +10,6 @@ interface IFoo {
 }
        
 class ErrorCS0071 : IFoo {
-       event Foo IFoo.OnFoo () { }
-       public static void Main () {
-       }
+       event Foo IFoo.OnFoo;
 }