2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0425-5.cs
blobca372d7a0a9931ad3ce254af03c48723efb4d52c
1 // CS0425: The constraints for type parameter `V' of method `Foo<T,X>.Test<V>()' must match the constraints for type parameter `U' of interface method `IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead
2 // Line: 11
4 interface IFoo<T>
6 void Test<U> () where U : T;
9 class Foo<T, X> : IFoo<T>
11 public void Test<V> () where V : X