Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs0425-3.cs
1 // CS0425: The constraints for type parameter `T' of method `C.Foo<T>()' must match the constraints for type parameter `T' of interface method `I.Foo<T>()'. Consider using an explicit interface implementation instead
2 // Line: 11
3
4 interface I
5 {
6         void Foo<T> ();
7 }
8
9 class C : I
10 {
11         public void Foo<T> () where T : struct
12         {
13         }
14 }