a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
312 B
C#
15 lines
312 B
C#
// CS0065: `EventClass.handler': event property must have both add and remove accessors
|
|
// Line : 9
|
|
|
|
using System;
|
|
|
|
public delegate void EventHandler (object sender, EventArgs e);
|
|
|
|
public class EventClass {
|
|
event EventHandler handler { add; }
|
|
}
|
|
|
|
public class MainClass {
|
|
public static void Main () {}
|
|
}
|