// Compiler options: -target:library public interface InterfaceWithGenericMethod { void GenericMethod_1() where T : struct, II; void GenericMethod_2() where T : class, II; void GenericMethod_3() where T : II, new (); } public interface II { }