Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0066.cs
blobe45d27a65ca4d717ed85066840c63cf10ace0d1f
1 // CS0066: `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 ();