1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly 'generic-array-exc.2'
8 .hash algorithm 0x00008004
11 .module 'generic-array-exc.2.exe' // GUID = {770295FB-70A6-4755-9969-EFE664D15786}
14 .class public auto ansi beforefieldinit ClassA
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 ClassA::.ctor
30 } // end of class ClassA
32 .class public auto ansi beforefieldinit GenExc`1<T>
33 extends [mscorlib]System.Exception
37 .method public hidebysig specialname rtspecialname
38 instance default void .ctor () cil managed
40 // Method begins at RVA 0x20f4
44 IL_0001: call instance void class [mscorlib]System.Exception::.ctor()
46 } // end of method GenExc`1::.ctor
48 } // end of class GenExc`1
50 .class public auto ansi beforefieldinit NonGen
51 extends [mscorlib]System.Object
55 .method public hidebysig specialname rtspecialname
56 instance default void .ctor () cil managed
58 // Method begins at RVA 0x20fc
62 IL_0001: call instance void object::.ctor()
64 } // end of method NonGen::.ctor
67 .method public static hidebysig
68 default void doThrow () cil managed
70 // Method begins at RVA 0x2104
74 IL_0001: newarr ClassA
76 } // end of method NonGen::doThrow
79 .method public static hidebysig
80 default object newArr () cil managed
82 // Method begins at RVA 0x210c
86 IL_0001: newarr ClassA
88 } // end of method NonGen::newArr
90 } // end of class NonGen
92 .class public auto ansi beforefieldinit Gen`1<T>
93 extends [mscorlib]System.Object
97 .method public hidebysig specialname rtspecialname
98 instance default void .ctor () cil managed
100 // Method begins at RVA 0x2114
104 IL_0001: call instance void object::.ctor()
106 } // end of method Gen`1::.ctor
109 .method public hidebysig
110 instance default void except () cil managed
112 // Method begins at RVA 0x211c
113 // Code size 17 (0x11)
116 IL_0000: call void class NonGen::doThrow()
117 IL_0005: leave IL_0010
122 IL_000b: leave IL_0010
126 } // end of method Gen`1::except
128 } // end of class Gen`1
130 .class public auto ansi beforefieldinit main
131 extends [mscorlib]System.Object
135 .method public hidebysig specialname rtspecialname
136 instance default void .ctor () cil managed
138 // Method begins at RVA 0x2158
142 IL_0001: call instance void object::.ctor()
144 } // end of method main::.ctor
147 .method public static hidebysig
148 default int32 Main () cil managed
150 // Method begins at RVA 0x2160
152 // Code size 44 (0x2c)
155 class Gen`1<class ClassA> V_0,
157 IL_0000: newobj instance void class Gen`1<class ClassA>::.ctor()
161 IL_0007: callvirt instance void class Gen`1<class ClassA>::except()
162 IL_000c: leave IL_0028
165 catch class ClassA[] { // 0
167 IL_0012: ldstr "exception not caught"
168 IL_0017: call void class [mscorlib]System.Console::WriteLine(string)
171 IL_001e: leave IL_002a
173 IL_0023: leave IL_0028
180 } // end of method main::Main
182 } // end of class main