1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly 'generic-valuetype-newobj.2'
8 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() = (
9 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
10 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
12 .hash algorithm 0x00008004
15 .module 'generic-valuetype-newobj.2.exe' // GUID = {F6750CB7-6941-4C99-83C6-C591622CA936}
18 .class public sequential ansi sealed beforefieldinit Gen`1<S>
19 extends [mscorlib]System.ValueType
21 .field public !0[] arr
24 .method public hidebysig specialname rtspecialname
25 instance default void '.ctor' (int32 i) cil managed
27 // Method begins at RVA 0x20ec
33 IL_0007: stfld !0[] valuetype Gen`1<!0>::arr
35 } // end of method Gen`1::.ctor
37 } // end of class Gen`1
39 .class public auto ansi beforefieldinit main
40 extends [mscorlib]System.Object
44 .method public hidebysig specialname rtspecialname
45 instance default void '.ctor' () cil managed
47 // Method begins at RVA 0x20fc
51 IL_0001: call instance void object::'.ctor'()
53 } // end of method main::.ctor
56 .method public static hidebysig
57 default valuetype Gen`1<string> newGen () cil managed
59 // Method begins at RVA 0x2104
63 newobj instance void valuetype Gen`1<string>::'.ctor'(int32)
65 } // end of method main::newGen
68 .method public static hidebysig
69 default int32 Main () cil managed
71 // Method begins at RVA 0x211c
73 // Code size 37 (0x25)
76 valuetype Gen`1<string> V_0)
77 IL_0000: call valuetype Gen`1<string> class main::newGen()
80 IL_0008: ldfld !0[] valuetype Gen`1<string>::arr
81 IL_000d: callvirt instance class [mscorlib]System.Type object::GetType()
82 IL_0012: ldtoken string[]
83 IL_0017: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
90 } // end of method main::Main
92 } // end of class main