Copied remotely
[mono.git] / mcs / errors / syntax0071.cs
1 // cs0071.cs: An explicit implementation of an event must use property syntax.
2 // Line: 13
3
4 using System;
5
6 public delegate void Foo (object source);
7
8 interface IFoo {
9         event Foo OnFoo;
10 }
11         
12 class ErrorCS0071 : IFoo {
13         event Foo IFoo.OnFoo () { }
14         public static void Main () {
15         }
16 }
17