Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0065.cs
1 // CS0065: `EventClass.handler': event property must have both add and remove accessors
2 // Line : 9
3
4 using System;
5
6 public delegate void EventHandler (object sender, EventArgs e);
7
8 public class EventClass {
9         event EventHandler handler { add; }
10 }
11
12 public class MainClass {
13         public static void Main () {}
14 }