d6574763760ba04232a3924b931ff059bb9caa38
[mono.git] / mono / tests / bug-45841-fpstack-exceptions.il
1
2 // Metadata version: v4.0.30319
3 .assembly extern mscorlib
4 {
5   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
6   .ver 4:0:0:0
7 }
8 .assembly extern System.Data
9 {
10   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
11   .ver 4:0:0:0
12 }
13 .assembly x
14 {
15   .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) 
16   .custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
17                                                                                                              63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 )       // ceptionThrows.
18   .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 02 00 00 00 00 00 ) 
19   .hash algorithm 0x00008004
20   .ver 0:0:0:0
21 }
22 .module x.exe
23 // MVID: {0EDDDD7B-2C90-4D6D-9C28-383B7DA8A1EB}
24 .imagebase 0x00400000
25 .file alignment 0x00000200
26 .stackreserve 0x00100000
27 .subsystem 0x0003       // WINDOWS_CUI
28 .corflags 0x00000001    //  ILONLY
29
30
31 // =============== CLASS MEMBERS DECLARATION ===================
32
33 .class public auto ansi beforefieldinit SqlSingleTest
34        extends [mscorlib]System.Object
35 {
36   .method public hidebysig static int32 Main() cil managed
37   {
38     .entrypoint
39     // Code size       164 (0xa4)
40     .maxstack  2
41     .locals init (valuetype [System.Data]System.Data.SqlTypes.SqlDecimal V_0)
42     .try
43     {
44                 ldc.r8 5
45         newobj     instance void [mscorlib]System.OverflowException::.ctor(string)
46         throw
47                           pop
48       IL_001c:  leave.s    IL_0021
49
50     }  // end .try
51     catch [mscorlib]System.Exception 
52     {
53       IL_001e:  pop
54       IL_001f:  leave.s    IL_0021
55
56     }  // end handler
57     IL_0021:  nop
58     .try
59     {
60                 ldc.r8 5
61         newobj     instance void [mscorlib]System.OverflowException::.ctor(string)
62         throw
63                           pop
64       IL_002e:  leave.s    IL_0033
65
66     }  // end .try
67     catch [mscorlib]System.Exception 
68     {
69       IL_0030:  pop
70       IL_0031:  leave.s    IL_0033
71
72     }  // end handler
73     IL_0033:  nop
74     .try
75     {
76                 ldc.r8 5
77         newobj     instance void [mscorlib]System.OverflowException::.ctor(string)
78         throw
79       IL_0044:  leave.s    IL_0049
80
81     }  // end .try
82     catch [mscorlib]System.Exception 
83     {
84       IL_0046:  pop
85       IL_0047:  leave.s    IL_0049
86
87     }  // end handler
88     IL_0049:  nop
89     .try
90     {
91                 ldc.r8 5
92         newobj     instance void [mscorlib]System.OverflowException::.ctor(string)
93         throw
94                 pop
95       IL_005a:  leave.s    IL_005f
96
97     }  // end .try
98     catch [mscorlib]System.Exception 
99     {
100       IL_005c:  pop
101       IL_005d:  leave.s    IL_005f
102
103     }  // end handler
104     IL_005f:  nop
105     .try
106     {
107                 ldc.r8 5
108         newobj     instance void [mscorlib]System.OverflowException::.ctor(string)
109         throw
110                 pop
111       IL_006c:  leave.s    IL_0071
112
113     }  // end .try
114     catch [mscorlib]System.Exception 
115     {
116       IL_006e:  pop
117       IL_006f:  leave.s    IL_0071
118
119     }  // end handler
120     IL_0071:  nop
121     .try
122     {
123                 ldc.r8 5
124         newobj     instance void [mscorlib]System.OverflowException::.ctor(string)
125         throw
126                 pop
127       IL_0082:  leave.s    IL_0087
128
129     }  // end .try
130     catch [mscorlib]System.Exception 
131     {
132       IL_0084:  pop
133       IL_0085:  leave.s    IL_0087
134
135     }  // end handler
136         IL_0087:        
137     ldloca.s   V_0
138     IL_0089:  ldc.r8     5
139     IL_0092:  call       instance void [System.Data]System.Data.SqlTypes.SqlDecimal::.ctor(float64)
140     IL_0097:  ldloca.s   V_0
141     IL_0099:  call       instance valuetype [mscorlib]System.Decimal [System.Data]System.Data.SqlTypes.SqlDecimal::get_Value()
142     call       float64 [mscorlib]System.Decimal::ToDouble([mscorlib]System.Decimal)
143         ldc.r8 5
144         ceq
145         ldc.i4 0
146         ceq
147     ret
148   } // end of method SqlSingleTest::Main
149
150   .method public hidebysig specialname rtspecialname 
151           instance void  .ctor() cil managed
152   {
153     // Code size       7 (0x7)
154     .maxstack  8
155     IL_0000:  ldarg.0
156     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
157     IL_0006:  ret
158   } // end of method SqlSingleTest::.ctor
159
160 } // end of class SqlSingleTest
161
162
163 // =============================================================
164
165 // *********** DISASSEMBLY COMPLETE ***********************