New test.
[mono.git] / mcs / errors / cs0069.cs
1 // cs0069.cs: Event in interface cannot have add or remove accessors
2 // Line: 13
3
4 using System;
5
6 public delegate void FooHandler ();
7
8 interface IBar {
9         event FooHandler OnFoo {
10                 add { }
11                 remove { }
12         }
13 }
14