More tests
[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 }
12
13 .module 'test-792-lib.dll'
14
15 .class public auto ansi beforefieldinit A
16        extends [mscorlib]System.Attribute
17 {
18   .method public hidebysig specialname rtspecialname 
19           instance void  .ctor(class [mscorlib]System.Type 'type') cil managed
20   {
21     .maxstack  8
22     IL_0000:  ldarg.0
23     IL_0001:  call       instance void [mscorlib]System.Attribute::.ctor()
24     IL_0006:  ret
25   }
26 }
27
28 .class public auto ansi beforefieldinit X extends [mscorlib]System.Object
29 {
30   .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
31                                                                   2C 20 56 65 72 73 69 6F 6E 3D 30 2E 30 2E 30 2E   // , Version=0.0.0.
32                                                                   30 2C 20 43 75 6C 74 75 72 65 3D 6E 65 75 74 72   // 0, Culture=neutr
33                                                                   61 6C 2C 20 50 75 62 6C 69 63 4B 65 79 54 6F 6B   // al, PublicKeyTok
34                                                                   65 6E 3D 6E 75 6C 6C 00 00 )                      // en=null..
35   .custom instance void [mscorlib]System.ObsoleteAttribute::.ctor() = ( 01 00 00 00 ) 
36   .field private class [mscorlib]System.Collections.Generic.List`1<valuetype ['missing-lib']XX> field2
37   .field private class ['missing-lib']XX field3
38   .field public class MembersDelayed[] fooArray
39   
40   .method public hidebysig specialname rtspecialname 
41           instance void  .ctor() cil managed
42   {
43     .maxstack  8
44     IL_0000:  ldarg.0
45     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
46     IL_0006:  ret
47   }
48 }
49
50 .class public auto ansi beforefieldinit MultipleSameNames extends [mscorlib]System.Object
51 {
52   .field private class [mscorlib]System.Int32 AA
53   .field public class [mscorlib]System.String AA
54   
55   .method public hidebysig specialname rtspecialname 
56           instance void  .ctor() cil managed
57   {
58     IL_0000:  ldarg.0
59     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
60     IL_0006:  ret
61   }  
62 }
63
64 .class public auto ansi beforefieldinit Another extends ['missing-lib']XXBase
65 {
66   .class auto ansi nested public beforefieldinit Nested extends [mscorlib]System.Object
67   {
68     .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
69     {
70       IL_0000:  ldarg.0
71       IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
72       IL_0006:  ret
73     }
74   }
75
76   .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
77   {
78     IL_0000:  ldarg.0
79     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
80     IL_0006:  ret
81   }
82 }
83
84 .class public auto ansi beforefieldinit MembersDelayed extends [mscorlib]System.Object
85 {
86   .field public class ['missing-lib']Missing foo
87   
88   .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
89   {
90     IL_0000:  ldarg.0
91     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
92     IL_0006:  ret
93   }
94 }
95
96 .class public auto ansi beforefieldinit G`1<T> extends [mscorlib]System.Object
97 {
98   .field public class ['missing-lib']Missing foo
99   
100   .method public hidebysig specialname rtspecialname instance void  .ctor() cil managed
101   {
102     IL_0000:  ldarg.0
103     IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
104     IL_0006:  ret
105   }
106 }
107
108 .class interface public abstract auto ansi IMemberDelayed
109 {
110   .method public hidebysig newslot abstract virtual 
111           instance class MembersDelayed[] 
112           foo(class [mscorlib]System.Object t) cil managed
113   {
114   }
115
116   .method public hidebysig newslot abstract virtual 
117           instance class [mscorlib]System.Object[] 
118           Working() cil managed
119   {
120   }
121 }
122