Files
mono/mcs/errors/cs0071.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

18 lines
290 B
C#

// cs0071.cs: An explicit interface implementation of an event must use property syntax
// Line: 13
using System;
public delegate void Foo (object source);
interface IFoo {
event Foo OnFoo;
}
class ErrorCS0071 : IFoo {
event Foo IFoo.OnFoo () { }
public static void Main () {
}
}