blob: efb72438bbac0e67c8bb1260badea32f51316ac0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0065: `EventClass<T>.handler': event property must have both add and remove accessors
// Line: 10
using System;
public delegate void EventHandler (object sender, EventArgs e);
public class EventClass<T>
{
event EventHandler handler { add {} }
}
|