Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-792-lib.il
1 .assembly extern mscorlib
2 {
3 }
4
5 .assembly extern 'missing-lib'
6 {
7 }
8
9 .assembly 'test-792-lib'
10 {
11 //      .custom instance void ['missing-lib']System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) 
12 }
13
14 .module 'test-792-lib.dll'
15
16 .class public auto ansi beforefieldinit A
17        extends [mscorlib]System.Attribute
18 {
19   .method public hidebysig specialname rtspecialname 
20           instance void  .ctor(class [mscorlib]System.Type 'type') cil managed
21   {
22     .maxstack  8
23     IL_0000:  ldarg.0
24     IL_0001:  call       instance void [mscorlib]System.Attribute::.ctor()
25     IL_0006:  ret
26   }
27 }
28
29 .class public auto ansi beforefieldinit A2
30        extends [mscorlib]System.Attribute
31 {
32
33   .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype ['missing-lib']System.AttributeTargets) =  (01 00 80 00 00 00 00 00 ) // ........
34
35   .method public hidebysig specialname rtspecialname 
36           instance void  .ctor() cil managed
37   {
38     ldarg.0
39     call       instance void [mscorlib]System.Attribute::.ctor()
40     ret
41   }
42 }
43
44 .class public auto ansi beforefieldinit X extends [mscorlib]System.Object
45 {
46   .custom instance void A::.ctor(class [mscorlib]System.Type) = ( 01 00 44 58 58 2C 20 62 75 67 2D 31 2D 6C 69 62   // ..DXX, missing-lib
47                                                                   2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E   // , Version=0.0.0.
48                                                                   30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72   // 0, Culture=neutr
49                                                                   61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B   // al, PublicKeyTok
50                                                                   65 6E 3D 6E 75 6C 6C 00 00 )                      // en=null..
51   .custom instance void [mscorlib]System.ObsoleteAttribute::.ctor() = ( 01 00 00 00 ) 
52   .field private class [mscorlib]System.Collections.Generic.List`1<valuetype ['missing-lib']XX> field2
53   .field private class ['missing-lib']XX field3
54   .field public class MembersDelayed[] fooArray
55   .field private static initonly class['missing-lib']XX field4
56   
57   .method public hidebysig specialname rtspecialname 
58           instance void  .ctor() cil managed
59   {
60     IL_0000:  ldarg.0
61     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
62     IL_0006:  ret
63   }
64   
65   .method private hidebysig specialname
66           instance void  PrivateMissing(class ['missing-lib']XX p) cil managed
67   {
68     ret
69   }
70 }
71
72 .class public auto ansi beforefieldinit MultipleSameNames extends [mscorlib]System.Object
73 {
74   .field private class [mscorlib]System.Int32 AA
75   .field public class [mscorlib]System.String AA
76   
77   .method public hidebysig specialname rtspecialname 
78           instance void  .ctor() cil managed
79   {
80     IL_0000:  ldarg.0
81     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
82     IL_0006:  ret
83   }  
84 }
85
86 .class public auto ansi beforefieldinit Another extends ['missing-lib']XXBase
87 {
88   .class auto ansi nested public beforefieldinit Nested extends [mscorlib]System.Object
89   {
90     .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
91     {
92       IL_0000:  ldarg.0
93       IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
94       IL_0006:  ret
95     }
96   }
97
98   .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
99   {
100     IL_0000:  ldarg.0
101     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
102     IL_0006:  ret
103   }
104 }
105
106 .class public auto ansi beforefieldinit MembersDelayed extends [mscorlib]System.Object
107 {
108   .field public class ['missing-lib']Missing foo
109   
110   .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
111   {
112     IL_0000:  ldarg.0
113     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
114     IL_0006:  ret
115   }
116 }
117
118 .class public auto ansi beforefieldinit G`1<T> extends [mscorlib]System.Object
119 {
120   .field public class ['missing-lib']Missing foo
121   
122   .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
123   {
124     IL_0000:  ldarg.0
125     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
126     IL_0006:  ret
127   }
128 }
129
130 .class interface public abstract auto ansi IMemberDelayed
131 {
132   .method public hidebysig newslot abstract virtual 
133           instance class MembersDelayed[] 
134           foo(class [mscorlib]System.Object t) cil managed
135   {
136   }
137
138   .method public hidebysig newslot abstract virtual 
139           instance class [mscorlib]System.Object[] 
140           Working() cil managed
141   {
142   }
143   
144   .method public hidebysig newslot abstract virtual 
145           instance class [mscorlib]System.Object[] 
146           Working(class G`1<class MembersDelayed> arg) cil managed
147   {
148   } 
149 }
150
151 .class public auto ansi beforefieldinit Overload
152        extends [mscorlib]System.Object
153 {
154   .method public hidebysig static void  Test(object o) cil managed
155   {
156     ret
157   }
158
159   .method public hidebysig static void  Test(object o, class ['missing-lib']XX arg) cil managed
160   {
161     ret
162   }
163
164   .method public hidebysig static void  Test(object o, class ['missing-lib']XX o2, [opt] object o3) cil managed
165   {
166     .param [2] = nullref  
167     ret
168   }
169
170   .method public hidebysig specialname rtspecialname 
171           instance void  .ctor() cil managed
172   {
173     ret
174   }
175
176 }
177