**** Merged from MCS ****
[mono-project.git] / mcs / errors / gcs0029.cs
blobf4812f54904afd98c905394a2020cd7645ba8cea
1 // CS0029: Cannot convert implicitly from `Bar`1' to `Foo`1'
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> ();