Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-78549.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 'out'
7 {
8         .custom instance void class
9 [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32)
10 =  (01 00 08 00 00 00 00 00 ) // ........
11
12         .hash algorithm 0x00008004
13         .ver  0:0:0:0
14 }
15 .module 'out' // GUID = {4C258A12-8B71-4F2F-BBD4-D5D836DE4A15}
16
17
18 .class private auto ansi abstract sealed M
19 extends [mscorlib]System.Object
20 {
21
22         // method line 1
23         .method public static  hidebysig 
24         default int32 Main ()  cil managed 
25         {
26                 // Method begins at RVA 0x20ec
27                 .entrypoint
28                 // Code size 99 (0x63)
29                 .maxstack 10
30                 .locals init (
31                         string  V_0,
32                         int32   V_1,
33                         string  V_2,
34                         class [mscorlib]System.NullReferenceException   V_3,
35                         int32   V_4)
36                 .try { // 0
37                 ldstr "output"
38                 stloc.0 
39                 ldnull 
40                 callvirt instance int32 string::get_Length()
41                 stloc.1 
42                 ldstr "!!"
43                 stloc.2 
44                 ldstr "this "
45                 call void class [mscorlib]System.Console::Write(string)
46                 ldloc.0 
47                 call void class [mscorlib]System.Console::Write(string)
48                 ldstr " will be "
49                 call void class [mscorlib]System.Console::Write(string)
50                 ldloc.1 
51                 call void class [mscorlib]System.Console::Write(int32)
52                 ldstr " interrupted "
53                 call void class [mscorlib]System.Console::Write(string)
54                 ldloc.2 
55                 call void class [mscorlib]System.Console::Write(string)
56                 ldstr "\n"
57                 call void class [mscorlib]System.Console::Write(string)
58                 ldc.i4 1
59                 stloc 4
60                 leave END
61
62                 } // end .try 0
63                 catch [mscorlib]System.NullReferenceException { // 0
64                 stloc.3
65                 ldstr "ok-catched\n"
66                 call void class [mscorlib]System.Console::Write(string)
67                 ldc.i4 0
68                 stloc 4
69                 leave END
70                 } // end handler 0
71                 END:  ldloc 4
72                 ret
73         } // end of method M::default void Main () 
74
75 } // end of class M
76
77