cleol
[mcs.git] / errors / gcs0065.cs
blobefb72438bbac0e67c8bb1260badea32f51316ac0
1 // CS0065: `EventClass<T>.handler': event property must have both add and remove accessors
2 // Line: 10
4 using System;
6 public delegate void EventHandler (object sender, EventArgs e);
8 public class EventClass<T>
10 event EventHandler handler { add {} }