Merge pull request #2314 from lambdageek/dev/local-handles
[mono-project.git] / mcs / errors / cs0071-2.cs
blob39f0b244e81d04b9a122eeeffab5b886487e65d4
1 // CS0071: `ErrorCS0071.IFoo.OnFoo': An explicit interface implementation of an event must use property syntax
2 // Line: 13
4 using System;
6 public delegate void Foo (object source);
8 interface IFoo {
9 event Foo OnFoo;
12 class ErrorCS0071 : IFoo {
13 public event Foo IFoo.OnFoo;