Files
mono/mcs/errors/cs0071.cs
T
Marek Safar 3b99fbd97a New tests.
svn path=/trunk/mcs/; revision=159594
2010-06-28 09:57:26 +00:00

16 lines
274 B
C#

// CS0071: `ErrorCS0071.IFoo.OnFoo': 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;
}