2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0425-4.cs
blob6fa481dae58609d6e06789f7e43522f4d95bdfb0
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
5 using System;
7 public interface IFoo
11 public interface IBar
13 void Method<T, V>() where T : IFoo where V : T;
16 public class Baz : IBar
18 public void Method<T, V>() where T : IBar where V : T