2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / errors / cs0069.cs
1 // cs0069.cs: Event cannot have add or remove accessors in an interface.
2 // Line: 13
3
4 using System;
5
6 class ErrorCS0069 {
7         public delegate void FooHandler ();
8         public static void Main () {
9         }
10 }
11
12 interface IBar {
13         event OnFoo {
14                 add { }
15                 remove { }
16         }
17 }
18