1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly 'typeloadexcgeneric'
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 typeloadexcgeneric.exe // GUID = {877F6CE7-B3D8-4CC7-AEB0-DA6A9DB96059}
18 .class interface private auto ansi abstract IFoo
22 .method public virtual hidebysig newslot abstract
23 instance default int32 A () cil managed
25 // Method begins at RVA 0x0
26 } // end of method IFoo::A
29 .method public virtual hidebysig newslot abstract
30 instance default int32 B () cil managed
32 // Method begins at RVA 0x0
33 } // end of method IFoo::B
35 } // end of class IFoo
37 .class private auto ansi beforefieldinit Foo`1<T>
38 extends [mscorlib]System.Object
42 .method public hidebysig specialname rtspecialname
43 instance default void '.ctor' () cil managed
45 // Method begins at RVA 0x20ec
49 IL_0001: call instance void object::'.ctor'()
51 } // end of method Foo`1::.ctor
54 .method public final virtual hidebysig newslot
55 instance default int32 A () cil managed
57 // Method begins at RVA 0x20f4
62 } // end of method Foo`1::A
63 } // end of class Foo`1
65 .class private auto ansi beforefieldinit Bar`1<T>
66 extends [mscorlib]System.Object
70 .method public hidebysig specialname rtspecialname
71 instance default void '.ctor' () cil managed
73 // Method begins at RVA 0x20fc
77 IL_0001: call instance void object::'.ctor'()
79 } // end of method Bar`1::.ctor
82 .method public hidebysig
83 instance default void work () cil managed
85 // Method begins at RVA 0x2104
86 // Code size 33 (0x21)
90 IL_0000: newobj instance void class Foo`1<!T>::'.ctor'()
94 IL_000c: callvirt instance int32 class Foo`1<!T>::A()
95 IL_0011: box [mscorlib]System.Int32
96 IL_0016: call string string::Concat(object, object)
97 IL_001b: call void class [mscorlib]System.Console::WriteLine(string)
99 } // end of method Bar`1::work
101 } // end of class Bar`1
103 .class public auto ansi beforefieldinit main
104 extends [mscorlib]System.Object
108 .method public hidebysig specialname rtspecialname
109 instance default void '.ctor' () cil managed
111 // Method begins at RVA 0x2134
115 IL_0001: call instance void object::'.ctor'()
117 } // end of method main::.ctor
120 .method public static hidebysig
121 default int32 Main () cil managed
123 // Method begins at RVA 0x213c
125 // Code size 34 (0x22)
128 class Bar`1<string> V_0,
130 IL_0000: newobj instance void class Bar`1<string>::'.ctor'()
134 IL_0007: callvirt instance void class Bar`1<string>::work()
135 IL_000c: leave IL_001e
138 catch class [mscorlib]System.TypeLoadException { // 0
142 IL_0014: leave IL_0020
144 IL_0019: leave IL_001e
151 } // end of method main::Main
153 } // end of class main