1 // CS0069: Event in interface cannot have add or remove accessors 2 // Line: 13 3 4 using System; 5 FooHandler()6 public delegate void FooHandler (); 7 8 interface IBar { 9 event FooHandler OnFoo { 10 add { } 11 remove { } 12 } 13 } 14 15