-// cs0071.cs: An explicit interface 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;
}
class ErrorCS0071 : IFoo {
- event Foo IFoo.OnFoo () { }
- public static void Main () {
- }
+ event Foo IFoo.OnFoo;
}