Align libgcmonosgen vcxproj with makefile.
[mono.git] / mcs / errors / cs0266-30.cs
1 // CS0266: Cannot implicitly convert type `Foo<int>.FooEvent' to `Foo<string>.FooEvent'. An explicit conversion exists (are you missing a cast?)
2 // Line: 12
3
4 class Foo<T> {
5         public event FooEvent Event;
6         public delegate T FooEvent();
7 }
8
9 class CompilerCrashTest {
10         static void Main() {
11                 Foo<string> foo = new Foo<string>();
12                 foo.Event += new Foo<int>.FooEvent (() => 0);
13         }
14 }