Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-324535-il.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 'bug-324535-il'
7 {
8   .hash algorithm 0x00008004
9   .ver  0:0:0:0
10 }
11 .module 'bug-324535-il.dll' // GUID = {60452EB2-5BE7-4A6D-A5BB-CCC19EA7F8EF}
12
13
14   .class public auto ansi beforefieldinit Generator
15         extends [mscorlib]System.Object
16   {
17     .field  private static  int32[] fld
18
19     // method line 1
20     .method public hidebysig  specialname  rtspecialname 
21            instance default void .ctor ()  cil managed 
22     {
23         // Method begins at RVA 0x20ec
24         // Code size 7 (0x7)
25         .maxstack 8
26         IL_0000:  ldarg.0 
27         IL_0001:  call instance void object::.ctor()
28         IL_0006:  ret 
29     } // end of method Generator::.ctor
30
31     // method line 2
32     .method public static  hidebysig 
33            default object fieldOverflow ()  cil managed 
34     {
35         // Method begins at RVA 0x20f4
36         // Code size 20 (0x14)
37         .maxstack 4
38         .locals init (
39                 int32[] V_0)
40         IL_0000:  ldc.i4.5
41         IL_0001:  newarr [mscorlib]System.Int32
42         IL_0006:  dup 
43         IL_0007:  ldtoken field valuetype '<PrivateImplementationDetails>'/$ArrayType$16 '<PrivateImplementationDetails>'::'$$field-0'
44         IL_000c:  call void class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, valuetype [mscorlib]System.RuntimeFieldHandle)
45         IL_0011:  stloc.0 
46         IL_0012:  ldloc.0 
47         IL_0013:  ret 
48     } // end of method Generator::fieldOverflow
49
50     // method line 3
51     .method public static  hidebysig 
52            default object referenceArray ()  cil managed 
53     {
54         // Method begins at RVA 0x2114
55         // Code size 2 (0x2)
56         .maxstack 8
57         IL_0016:  ldc.i4.2
58         IL_0017:  newarr [mscorlib]System.Object
59                         dup
60                         ldtoken field valuetype '<PrivateImplementationDetails>'/$ArrayType$16 '<PrivateImplementationDetails>'::'$$field-0'
61                         call void class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, valuetype [mscorlib]System.RuntimeFieldHandle)
62         IL_0001:  ret 
63     } // end of method Generator::referenceArray
64
65     // method line 4
66     .method public static  hidebysig 
67            default object nonRVAField ()  cil managed 
68     {
69         // Method begins at RVA 0x2118
70         // Code size 2 (0x2)
71         .maxstack 8
72         IL_0000:  ldc.i4.1
73         IL_0001:  newarr [mscorlib]System.Int32
74         IL_0006:  dup 
75         IL_0007:  ldtoken field int32[] Generator::fld
76         IL_000c:  call void class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, valuetype [mscorlib]System.RuntimeFieldHandle)
77         IL_0013:  ret 
78     } // end of method Generator::nonRVAField
79
80   } // end of class Generator
81
82   .class private auto ansi '<PrivateImplementationDetails>'
83         extends [mscorlib]System.Object
84   {
85     .field  assembly static  valuetype '<PrivateImplementationDetails>'/$ArrayType$16 '$$field-0' at D_0000211c
86
87     // method line 5
88     .method public specialname  rtspecialname 
89            instance default void .ctor ()  cil managed 
90     {
91         // Method begins at RVA 0x212c
92         // Code size 7 (0x7)
93         .maxstack 8
94         IL_0000:  ldarg.0 
95         IL_0001:  call instance void object::.ctor()
96         IL_0006:  ret 
97     } // end of method <PrivateImplementationDetails>::.ctor
98
99   .class nested private explicit ansi sealed $ArrayType$16
100         extends [mscorlib]System.ValueType
101   {
102     .pack 1
103     .size 16
104
105   } // end of class $ArrayType$16
106
107   } // end of class <PrivateImplementationDetails>
108
109 .data D_0000211c = bytearray (
110          01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00) // size: 16