2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / errors / gcs0065.cs
1 // CS0065: `EventClass<T>.handler': event property must have both add and remove accessors
2 // Line: 10
3
4 using System;
5
6 public delegate void EventHandler (object sender, EventArgs e);
7
8 public class EventClass<T>
9 {
10         event EventHandler handler { add {} }
11 }
12