26 lines
376 B
C#
Raw Normal View History

// Compiler options: -r:gtest-465-lib.dll
public class DerivedClass : InterfaceWithGenericMethod
{
public void GenericMethod_1<T> () where T : struct, II
{
}
public void GenericMethod_2<T> () where T : class, II
{
}
public void GenericMethod_3<T> () where T : II, new ()
{
}
}
class Program
{
public static int Main ()
{
new DerivedClass ();
return 0;
}
}