2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0069.cs
blobd235699494ed377396b476ce30c3e5dcfd3f21e2
1 // cs0069.cs: Event in interface cannot have add or remove accessors
2 // Line: 13
4 using System;
6 public delegate void FooHandler ();
8 interface IBar {
9 event FooHandler OnFoo {
10 add { }
11 remove { }