Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs0452-9.cs
blob366f106500ffad446895c70e4250ec29c1a794bb
1 // CS0452: The type `U' must be a reference type in order to use it as type parameter `UU' in the generic type or method `B.Test<UU>(UU)'
2 // Line: 13
4 abstract class A<T>
6 public abstract void Foo<U> (U arg) where U : T;
9 class B : A<int>
11 public override void Foo<U> (U arg)
13 Test (arg);
16 void Test<UU> (UU a) where UU : class