Files
linux-packaging-mono/mcs/errors/cs0071-2.cs

21 lines
285 B
C#
Raw Normal View History

// 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 {
public event Foo IFoo.OnFoo;
}