Reenable a bunch of disabled iOS Mono SDKs test suites (#19301)
[mono-project.git] / mcs / errors / cs0425-6.cs
blob8dd16afe1370aec1b94ea9bb6b62eb943f9b62a5
1 // CS0425: The constraints for type parameter `T' of method `CA.Foo<T>()' must match the constraints for type parameter `U' of interface method `IA.Foo<U>()'. Consider using an explicit interface implementation instead
2 // Line: 16
4 interface IA
6 void Foo<U> ();
9 class CA
11 public void Foo<T> () where T : class
16 class CB : CA, IA
18 public static void Main ()