1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly 'test-del-access'
8 .hash algorithm 0x00008004
11 .module 'test-del-access.exe' // GUID = {3B188D52-4BD2-41E1-AD35-3CCAA38D8683}
14 .class private auto ansi beforefieldinit A
15 extends [mscorlib]System.Object
19 .method public hidebysig specialname rtspecialname
20 instance default void .ctor () cil managed
22 // Method begins at RVA 0x20ec
26 IL_0001: call instance void object::.ctor()
28 } // end of method A::.ctor
31 .method private static hidebysig
32 default void test () cil managed
34 // Method begins at RVA 0x20f4
38 } // end of method A::test
42 .class private auto ansi beforefieldinit B
43 extends [mscorlib]System.Object
47 .method public hidebysig specialname rtspecialname
48 instance default void .ctor () cil managed
50 // Method begins at RVA 0x20f8
54 IL_0001: call instance void object::.ctor()
56 } // end of method B::.ctor
58 .method private static hidebysig
59 default void testdel () cil managed
64 IL_0001: ldftn void class A::test()
65 IL_0007: newobj instance void class B/MyDel::.ctor(object, native int)
68 IL_000e: callvirt instance void class B/MyDel::Invoke()
73 .method private static hidebysig
74 default int32 test () cil managed
76 // Method begins at RVA 0x2100
78 // Code size 41 (0x29)
84 IL_000e: call void B::testdel()
85 IL_0013: leave IL_0025
88 catch [mscorlib]System.MethodAccessException { // 0
92 IL_001b: leave IL_0027
94 IL_0020: leave IL_0025
101 } // end of method B::Main
103 .class nested private auto ansi sealed MyDel
104 extends [mscorlib]System.MulticastDelegate
108 .method public hidebysig specialname rtspecialname
109 instance default void .ctor (object 'object', native int 'method') runtime managed
111 // Method begins at RVA 0x0
112 // Disassembly of native methods is not supported
113 } // end of method MyDel::.ctor
116 .method public virtual hidebysig newslot
117 instance default void Invoke () runtime managed
119 // Method begins at RVA 0x0
120 // Disassembly of native methods is not supported
121 } // end of method MyDel::Invoke
124 .method public virtual hidebysig newslot
125 instance default class [mscorlib]System.IAsyncResult BeginInvoke (class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed
127 // Method begins at RVA 0x0
128 // Disassembly of native methods is not supported
129 } // end of method MyDel::BeginInvoke
132 .method public virtual hidebysig newslot
133 instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed
135 // Method begins at RVA 0x0
136 // Disassembly of native methods is not supported
137 } // end of method MyDel::EndInvoke
139 } // end of class MyDel