Updated with review feedback.
[mono.git] / mcs / errors / cs0066.cs
1 // CS0066: `Button.Click': event must be of a delegate type
2 // Line : 10
3
4 using System;
5
6 public delegate void EventHandler (object sender, EventArgs e);
7
8 public class Button {
9
10         public event Blah Click;
11
12         public void Reset ()
13         {
14                 Click = null;
15         }
16 }
17
18 public class Blah {
19
20         public static void Main ()
21         {
22                 Blah b = new Blah ();
23         }
24         
25 }