2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / errors / cs0065.cs
blob6b5bad7f1401eba4a2e08e0acd2e0879e03e6e27
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 {}
12 public class MainClass {
13 public static void Main () {}