Align libmonoruntime vcxproj with makefile.
[mono.git] / mcs / errors / cs0425-4.cs
1 // CS0425: The constraints for type parameter `T' of method `Test.Baz.Method<T,V>()' must match the constraints for type parameter `T' of interface method `Test.IBar.Method<T,V>()'. Consider using an explicit interface implementation instead
2 // Line: 18
3 namespace Test
4 {
5     using System;
6
7     public interface IFoo
8     {
9     }
10
11     public interface IBar
12     {
13         void Method<T, V>() where T : IFoo where V : T;
14     }
15
16     public class Baz : IBar
17     {
18         public void Method<T, V>() where T : IBar where V : T
19         {
20         }
21     }
22 }