Add as we now catch this error.
authorRavi Pratap M <ravi@mono-cvs.ximian.com>
Sun, 16 Dec 2001 00:14:23 +0000 (00:14 -0000)
committerRavi Pratap M <ravi@mono-cvs.ximian.com>
Sun, 16 Dec 2001 00:14:23 +0000 (00:14 -0000)
svn path=/trunk/mcs/; revision=1585

mcs/errors/cs0066.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0066.cs b/mcs/errors/cs0066.cs
new file mode 100644 (file)
index 0000000..e7e6f5e
--- /dev/null
@@ -0,0 +1,25 @@
+// cs0066.cs : 'Button.Click' : event must be of a delegate type 
+// Line : 10
+
+using System;
+
+public delegate void EventHandler (object sender, EventArgs e);
+
+public class Button {
+
+       public event Blah Click;
+
+       public void Reset ()
+       {
+               Click = null;
+       }
+}
+
+public class Blah {
+
+       public static void Main ()
+       {
+               Blah b = new Blah ();
+       }
+       
+}