1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly extern TestDriver
13 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() = (
14 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
15 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
17 .hash algorithm 0x00008004
20 .module test.exe // GUID = {36476DF0-2B03-45C8-B512-E12B67C7C094}
23 .class interface private auto ansi abstract IFoo
27 .method public virtual hidebysig newslot abstract
28 instance default int32 A () cil managed
30 // Method begins at RVA 0x0
31 } // end of method IFoo::A
33 } // end of class IFoo
36 .class public auto ansi sealed Dele
37 extends [mscorlib]System.MulticastDelegate implements IFoo
41 .method public hidebysig specialname rtspecialname
42 instance default void '.ctor' (object 'object', native int 'method') runtime managed
44 // Method begins at RVA 0x0
45 // Disassembly of native methods is not supported
46 } // end of method Dele::.ctor
49 .method public virtual hidebysig newslot
50 instance default void Invoke () runtime managed
52 // Method begins at RVA 0x0
53 // Disassembly of native methods is not supported
54 } // end of method Dele::Invoke
57 .method public virtual hidebysig newslot
58 instance default class [mscorlib]System.IAsyncResult BeginInvoke (class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed
60 // Method begins at RVA 0x0
61 // Disassembly of native methods is not supported
62 } // end of method Dele::BeginInvoke
65 .method public virtual hidebysig newslot
66 instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed
68 // Method begins at RVA 0x0
69 // Disassembly of native methods is not supported
70 } // end of method Dele::EndInvoke
72 } // end of class Dele
75 .class private auto ansi beforefieldinit Foo
76 extends [mscorlib]System.Object
80 .method public hidebysig specialname rtspecialname
81 instance default void '.ctor' () cil managed
83 // Method begins at RVA 0x20ec
87 IL_0001: call instance void object::'.ctor'()
89 } // end of method Foo::.ctor
93 .method public hidebysig
94 instance default int32 SSS () cil managed
96 // Method begins at RVA 0x20f8
99 IL_0000: ldc.i4.s 0x14
101 } // end of method Foo::SSS
103 } // end of class Foo
105 .class public sequential ansi sealed beforefieldinit FooStruct extends [mscorlib]System.ValueType implements IFoo {
106 .field public int32 blarg
108 } // end of class FooStruct
110 .class public auto ansi beforefieldinit Tests
111 extends [mscorlib]System.Object
113 .method private static hidebysig
114 default void array_ldelema (class Foo& f) cil managed
119 callvirt instance int32 class Foo::SSS()
124 .method private static hidebysig
125 default void array_ldelema (class Foo[] arr) cil managed
131 call void class Tests::array_ldelema([out] class Foo&)
135 .method public static hidebysig default int32 test_0_ldelema_type_check () cil managed
140 call void class Tests::array_ldelema(class Foo[])
143 catch class [mscorlib]System.TypeLoadException { // 0
144 call void class [mscorlib]System.Console::WriteLine(object)
155 .method public static hidebysig default void delegate_ctor () cil managed
158 .locals init (object V_0)
160 ldftn void class Tests::delegate_ctor()
161 newobj instance void class Dele::'.ctor'(object, native int)
168 .method private static hidebysig default int32 test_0_delegate_ctor () cil managed
173 call void class Tests::delegate_ctor()
176 catch class [mscorlib]System.TypeLoadException { // 0
177 call void class [mscorlib]System.Console::WriteLine(object)
188 .method private static hidebysig default void generic_box<(class IFoo) T> () cil managed
191 .locals init (!!T V_0, !!T V_1)
198 callvirt instance int32 class IFoo::A()
203 .method private static hidebysig default int32 test_0_generic_box () cil managed
208 call void class Tests::generic_box<valuetype FooStruct> ()
211 catch class [mscorlib]System.TypeLoadException { // 0
212 call void class [mscorlib]System.Console::WriteLine(object)
223 .method private static hidebysig
224 default int32 Main () cil managed
229 call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
230 call int32 class [TestDriver]TestDriver::RunTests(class [mscorlib]System.Type)