mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
26 lines
337 B
C#
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 ();
|
|
}
|
|
|
|
}
|