a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
381 B
C#
28 lines
381 B
C#
using System;
|
|
|
|
namespace TestBug
|
|
{
|
|
public class BugClass<T>
|
|
{
|
|
public event EventHandler Evt { add { } remove { } }
|
|
|
|
public void Bug ()
|
|
{
|
|
Evt += Handler;
|
|
}
|
|
|
|
public static void Handler (object sender, EventArgs e)
|
|
{
|
|
}
|
|
}
|
|
|
|
class MainClass
|
|
{
|
|
public static void Main ()
|
|
{
|
|
BugClass<int> bc = new BugClass<int> ();
|
|
bc.Evt += BugClass<int>.Handler;
|
|
}
|
|
}
|
|
}
|