X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0071.cs;h=f39c9e9455397936a97a4b89f2d6eed56c2ffa02;hb=b9dd48c9c44bbc9c057aee9bd834de7966ae8565;hp=551c67bb7fb9e619c23532086ed5a939b2e35ebb;hpb=f99ce750ee781a2584e849a0264300fa4d99aaaa;p=mono.git diff --git a/mcs/errors/cs0071.cs b/mcs/errors/cs0071.cs index 551c67bb7fb..f39c9e94553 100644 --- a/mcs/errors/cs0071.cs +++ b/mcs/errors/cs0071.cs @@ -1,4 +1,4 @@ -// 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; @@ -10,8 +10,6 @@ interface IFoo { } class ErrorCS0071 : IFoo { - event Foo IFoo.OnFoo () { } - public static void Main () { - } + event Foo IFoo.OnFoo; }