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
41 .method public hidebysig specialname rtspecialname
42 instance default void '.ctor' () cil managed
44 // Method begins at RVA 0x20f4
48 IL_0001: call instance void object::'.ctor'()
50 } // end of method Gen`1::.ctor
52 .method public hidebysig instance default int32 checkEqual () cil managed
54 ldtoken method instance int32 class Gen`1<!T>::checkEqual()
55 ldtoken class Gen`1<!T>
56 call [mscorlib]System.Reflection.MethodBase [mscorlib]System.Reflection.MethodBase::GetMethodFromHandle (valuetype [mscorlib]System.RuntimeMethodHandle,
57 valuetype [mscorlib]System.RuntimeTypeHandle)
59 ldtoken method instance int32 class Gen`1<class ClassA>::checkEqual ()
60 ldtoken class Gen`1<class ClassA>
61 call [mscorlib]System.Reflection.MethodBase [mscorlib]System.Reflection.MethodBase::GetMethodFromHandle (valuetype [mscorlib]System.RuntimeMethodHandle,
62 valuetype [mscorlib]System.RuntimeTypeHandle)
63 // call instance int32 [mscorlib]System.RuntimeMethodHandle::Equals ([mscorlib]System.RuntimeMethodHandle)
68 } // end of class Gen`1
70 .class public auto ansi beforefieldinit main
71 extends [mscorlib]System.Object
75 .method public hidebysig specialname rtspecialname
76 instance default void '.ctor' () cil managed
78 // Method begins at RVA 0x2114
82 IL_0001: call instance void object::'.ctor'()
84 } // end of method main::.ctor
87 .method public static hidebysig
88 default int32 Main () cil managed
90 // Method begins at RVA 0x211c
92 // Code size 54 (0x36)
95 class Gen`1<class ClassA> V_0)
97 IL_0000: newobj instance void class Gen`1<class ClassA>::'.ctor'()
98 callvirt instance int32 class Gen`1<class ClassA>::checkEqual()
101 } // end of method main::Main
103 } // end of class main