[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0029-25.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> ();