2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0065.cs
blob074377bf867e859a9592ba9d61fb5c274316c2a9
1 // cs0065.cs: `EventClass.handler': event property must have both add and remove accessors
2 // Line : 9
4 using System;
6 public delegate void EventHandler (object sender, EventArgs e);
8 public class EventClass {
9 event EventHandler handler { add; }
12 public class MainClass {
13 public static void Main () {}