1 // CS0266: Cannot implicitly convert type `Foo<int>.FooEvent' to `Foo<string>.FooEvent'. An explicit conversion exists (are you missing a cast?)
5 public event FooEvent Event;
6 public delegate T FooEvent();
9 class CompilerCrashTest {
11 Foo<string> foo = new Foo<string>();
12 foo.Event += new Foo<int>.FooEvent (() => 0);