1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly 'generic-ldtoken.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-ldtoken.2.exe' // GUID = {816E886F-1485-43E8-AC46-501D301BC67A}
18 .class public auto ansi beforefieldinit ClassA
19 extends [mscorlib]System.Object
23 .method public hidebysig specialname rtspecialname
24 instance default void '.ctor' () cil managed
26 // Method begins at RVA 0x20ec
30 IL_0001: call instance void object::'.ctor'()
32 } // end of method ClassA::.ctor
34 } // end of class ClassA
36 .class public auto ansi beforefieldinit Gen`1<T>
37 extends [mscorlib]System.Object
40 .field public static int32 myField
43 .method public hidebysig specialname rtspecialname
44 instance default void '.ctor' () cil managed
46 // Method begins at RVA 0x20f4
50 IL_0001: call instance void object::'.ctor'()
52 } // end of method Gen`1::.ctor
54 .method public hidebysig instance default int32 checkEqual () cil managed
56 ldtoken field int32 class Gen`1<!T>::myField
57 call [mscorlib]System.Reflection.FieldInfo [mscorlib]System.Reflection.FieldInfo::GetFieldFromHandle (valuetype [mscorlib]System.RuntimeFieldHandle)
58 ldtoken field int32 class Gen`1<class ClassA>::myField
59 call [mscorlib]System.Reflection.FieldInfo [mscorlib]System.Reflection.FieldInfo::GetFieldFromHandle (valuetype [mscorlib]System.RuntimeFieldHandle)
64 } // end of class Gen`1
66 .class public auto ansi beforefieldinit main
67 extends [mscorlib]System.Object
71 .method public hidebysig specialname rtspecialname
72 instance default void '.ctor' () cil managed
74 // Method begins at RVA 0x2114
78 IL_0001: call instance void object::'.ctor'()
80 } // end of method main::.ctor
83 .method public static hidebysig
84 default int32 Main () cil managed
86 // Method begins at RVA 0x211c
88 // Code size 54 (0x36)
91 class Gen`1<class ClassA> V_0)
93 IL_0000: newobj instance void class Gen`1<class ClassA>::'.ctor'()
94 callvirt instance int32 class Gen`1<class ClassA>::checkEqual()
97 } // end of method main::Main
99 } // end of class main