2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0029.cs
blob2fad06122f2be6c55b998cd560daf691b8c38ca9
1 // CS0029: Cannot implicitly convert type `Bar<long>' to `Foo<int>'
2 // Line: 15
3 class Foo<T>
7 class Bar<T> : Foo<T>
11 class X
13 static void Main ()
15 Foo<int> foo = new Bar<long> ();