Files
mono/mcs/errors/cs0066.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

26 lines
337 B
C#

// 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 ();
}
}