1 // Test: Use of !!A, gen param ref by name in method signature,
4 .assembly extern mscorlib
10 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = (
11 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
12 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
18 .class interface private auto ansi abstract IFoo`1<A>
22 .class private auto ansi beforefieldinit g`1<T>
23 extends [mscorlib]System.Object
26 .method public hidebysig specialname rtspecialname
27 instance default void .ctor () cil managed
31 IL_0001: call instance void object::.ctor()
35 .method public static hidebysig
36 default !!A foo<(class g`1<!!B>)A,B> (!!B _b, !T _t, !!A _a) cil managed
47 .method public static hidebysig
48 default void meth1 () cil managed
55 IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
56 IL_000a: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type)