Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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;
}
}
}