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
53 .method public hidebysig
54 instance default class [mscorlib]System.Type typeOfT () cil managed
56 // Method begins at RVA 0x20fc
61 IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
63 } // end of method Gen`1::typeOfT
66 .method public hidebysig
67 instance default class [mscorlib]System.Type typeOfGenT () cil managed
69 // Method begins at RVA 0x2108
72 IL_0000: ldtoken class Gen`1<!T>
74 IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
76 } // end of method Gen`1::typeOfGenT
78 } // end of class Gen`1
80 .class public auto ansi beforefieldinit main
81 extends [mscorlib]System.Object
85 .method public hidebysig specialname rtspecialname
86 instance default void '.ctor' () cil managed
88 // Method begins at RVA 0x2114
92 IL_0001: call instance void object::'.ctor'()
94 } // end of method main::.ctor
97 .method public static hidebysig
98 default int32 Main () cil managed
100 // Method begins at RVA 0x211c
102 // Code size 54 (0x36)
105 class Gen`1<class ClassA> V_0)
106 IL_0000: newobj instance void class Gen`1<class ClassA>::'.ctor'()
109 IL_0007: callvirt instance class [mscorlib]System.Type class Gen`1<class ClassA>::typeOfT()
110 IL_000c: ldtoken ClassA
111 IL_0011: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
117 IL_001e: callvirt instance class [mscorlib]System.Type class Gen`1<class ClassA>::typeOfGenT()
118 IL_0023: ldtoken class Gen`1<class ClassA>
119 IL_0028: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
126 } // end of method main::Main
128 } // end of class main