Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-481403.il
1 .assembly extern mscorlib
2 {
3   .ver 2:0:0:0
4   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
5 }
6 .assembly 'bug-481403'
7 {
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.
11
12   .hash algorithm 0x00008004
13   .ver  0:0:0:0
14 }
15 .module 'bug-481403.exe' // GUID = {5A42787F-2088-473C-9915-25768E9D3E6C}
16
17
18   .class public auto ansi beforefieldinit main
19         extends [mscorlib]System.Object
20   {
21
22     // method line 1
23     .method public hidebysig  specialname  rtspecialname 
24            instance default void '.ctor' ()  cil managed 
25     {
26         // Method begins at RVA 0x20ec
27         // Code size 7 (0x7)
28         .maxstack 8
29         IL_0000:  ldarg.0 
30         IL_0001:  call instance void object::'.ctor'()
31         IL_0006:  ret 
32     } // end of method main::.ctor
33
34     // method line 2
35     .method public hidebysig 
36            instance default void callee ()  cil managed 
37     {
38         // Method begins at RVA 0x20f4
39         // Code size 11 (0xb)
40         .maxstack 8
41         IL_0000:  ldstr "callee"
42         IL_0005:  call void class [mscorlib]System.Console::WriteLine(string)
43         IL_000a:  ret 
44     } // end of method main::callee
45
46     // method line 3
47     .method public hidebysig 
48            instance default void caller ()  cil managed 
49     {
50         // Method begins at RVA 0x2100
51         // Code size 7 (0x7)
52         .maxstack 8
53 //      IL_0000:  ldarg.0 
54 //      IL_0001:  call instance void class main::callee()
55 //      IL_0006:  ret 
56         IL_0001:  jmp instance void class main::callee()
57     } // end of method main::caller
58
59     // method line 4
60     .method public hidebysig 
61            instance default int32 caller_caller (int32 x, int32 y)  cil managed 
62     {
63         // Method begins at RVA 0x2108
64         // Code size 10 (0xa)
65         .maxstack 8
66         IL_0000:  ldarg.0 
67         IL_0001:  call instance void class main::caller()
68         IL_0006:  ldarg.1 
69         IL_0007:  ldarg.2 
70         IL_0008:  add 
71         IL_0009:  ret 
72     } // end of method main::caller_caller
73
74     // method line 5
75     .method public static  hidebysig 
76            default int32 Main ()  cil managed 
77     {
78         // Method begins at RVA 0x2114
79         .entrypoint
80         // Code size 26 (0x1a)
81         .maxstack 5
82         .locals init (
83                 class main      V_0)
84         IL_0000:  newobj instance void class main::'.ctor'()
85         IL_0005:  stloc.0 
86         IL_0006:  ldstr "bla"
87         IL_000b:  call void class [mscorlib]System.Console::WriteLine(string)
88         IL_0010:  ldloc.0 
89         IL_0011:  ldc.i4.2 
90         IL_0012:  ldc.i4.s 0xfffffffe
91         IL_0014:  callvirt instance int32 class main::caller_caller(int32, int32)
92         IL_0019:  ret 
93     } // end of method main::Main
94
95   } // end of class main
96