Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / vt-sync-method.il
1 .assembly extern mscorlib
2 {
3   .ver 1:0:5000:0
4   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
5 }
6 .assembly 'vt-sync'
7 {
8   .hash algorithm 0x00008004
9   .ver  0:0:0:0
10 }
11 .module 'vt-sync.exe' // GUID = {92777FC4-E766-42CE-B02F-DFA9AF516D3E}
12
13
14   .class private auto ansi beforefieldinit T
15         extends [mscorlib]System.Object
16   {
17
18     // method line 1
19     .method public hidebysig  specialname  rtspecialname 
20            instance default void .ctor ()  cil managed 
21     {
22         // Method begins at RVA 0x20ec
23         // Code size 7 (0x7)
24         .maxstack 8
25         IL_0000:  ldarg.0 
26         IL_0001:  call instance void object::.ctor()
27         IL_0006:  ret 
28     } // end of method T::.ctor
29
30     // method line 2
31     .method public static  hidebysig 
32            default int32 test ()  cil managed 
33     {
34         // Method begins at RVA 0x20f4
35         // Code size 18 (0x12)
36         .maxstack 3
37         .locals init (
38                 valuetype Test  V_0,
39                 int32   V_1)
40         IL_0000:  ldloca.s 0
41         IL_0002:  initobj Test
42         IL_0008:  ldloca.s 0
43         IL_000a:  call instance int32 valuetype Test::test()
44         IL_000f:  stloc.1 
45         IL_0010:  ldloc.1 
46         IL_0011:  ret 
47     } // end of method T::test
48
49     // method line 3
50     .method public static  hidebysig 
51            default int32 Main (string[] args)  cil managed 
52     {
53         // Method begins at RVA 0x2114
54         .entrypoint
55         // Code size 28 (0x1c)
56         .maxstack 3
57         .locals init (
58                 int32   V_0)
59         .try { // 0
60           IL_0000:  call int32 class T::test()
61           IL_0005:  pop 
62           IL_0006:  leave IL_0018
63
64         } // end .try 0
65         catch [mscorlib]System.TypeLoadException { // 0
66           IL_000b:  pop 
67           IL_000c:  ldc.i4.0 
68           IL_000d:  stloc.0 
69           IL_000e:  leave IL_001a
70
71           IL_0013:  leave IL_0018
72
73         } // end handler 0
74         IL_0018:  ldc.i4.1 
75         IL_0019:  ret 
76         IL_001a:  ldloc.0 
77         IL_001b:  ret 
78     } // end of method T::Main
79
80   } // end of class T
81
82   .class private sequential ansi sealed beforefieldinit Test
83         extends [mscorlib]System.ValueType
84   {
85     .field  private  unsigned int8 $PRIVATE$
86
87     // method line 4
88     .method public hidebysig 
89            instance default int32 test ()  cil managed synchronized 
90     {
91         // Method begins at RVA 0x2158
92         // Code size 2 (0x2)
93         .maxstack 8
94         IL_0000:  ldc.i4.4 
95         IL_0001:  ret 
96     } // end of method Test::test
97
98   } // end of class Test
99