2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0066.cs
blob9389e7a6cc29dc91080f60554f04e555d863c143
1 // cs0066.cs: `Button.Click': event must be of a delegate type
2 // Line : 10
4 using System;
6 public delegate void EventHandler (object sender, EventArgs e);
8 public class Button {
10 public event Blah Click;
12 public void Reset ()
14 Click = null;
18 public class Blah {
20 public static void Main ()
22 Blah b = new Blah ();