Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-79956.2.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 'ConsoleApplication1'
7 {
8   .custom instance void class [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) =  (01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0..
9
10   .custom instance void class [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) =  (
11                 01 00 24 36 32 66 38 34 30 35 36 2D 39 62 35 34   // ..$62f84056-9b54
12                 2D 34 34 61 38 2D 62 63 30 63 2D 30 36 62 39 34   // -44a8-bc0c-06b94
13                 65 64 37 61 39 63 61 00 00                      ) // ed7a9ca..
14
15   .custom instance void class [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) =  (01 00 00 00 00 ) // .....
16
17   .custom instance void class [mscorlib]System.Reflection.AssemblyTrademarkAttribute::.ctor(string) =  (01 00 00 00 00 ) // .....
18
19   .custom instance void class [mscorlib]System.Reflection.AssemblyCopyrightAttribute::.ctor(string) =  (
20                 01 00 12 43 6F 70 79 72 69 67 68 74 20 C2 A9 20   // ...Copyright .. 
21                 20 32 30 30 36 00 00                            ) //  2006..
22
23   .custom instance void class [mscorlib]System.Reflection.AssemblyProductAttribute::.ctor(string) =  (
24                 01 00 13 43 6F 6E 73 6F 6C 65 41 70 70 6C 69 63   // ...ConsoleApplic
25                 61 74 69 6F 6E 31 00 00                         ) // ation1..
26
27   .custom instance void class [mscorlib]System.Reflection.AssemblyCompanyAttribute::.ctor(string) =  (01 00 00 00 00 ) // .....
28
29   .custom instance void class [mscorlib]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) =  (01 00 00 00 00 ) // .....
30
31   .custom instance void class [mscorlib]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) =  (01 00 00 00 00 ) // .....
32
33   .custom instance void class [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) =  (
34                 01 00 13 43 6F 6E 73 6F 6C 65 41 70 70 6C 69 63   // ...ConsoleApplic
35                 61 74 69 6F 6E 31 00 00                         ) // ation1..
36
37   .custom instance void class [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) =  (01 00 02 00 00 00 00 00 ) // ........
38
39   .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) =  (01 00 08 00 00 00 00 00 ) // ........
40
41   .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() =  (
42                 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
43                 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) // ceptionThrows.
44
45   .hash algorithm 0x00008004
46   .ver  1:0:0:0
47 }
48 .module ConsoleApplication1.exe // GUID = {25CBD5B1-A241-43CC-8D15-0925BECF7395}
49
50
51 .namespace ConsoleApplication1
52 {
53   .class private auto ansi beforefieldinit Parent`2<T,U>
54         extends [mscorlib]System.Object
55   {
56     .field  family  valuetype ConsoleApplication1.Parent`2/TestEnum<!0,!1> te
57
58     // method line 1
59     .method public hidebysig  specialname  rtspecialname 
60            instance default void .ctor ()  cil managed 
61     {
62         // Method begins at RVA 0x2050
63         // Code size 7 (0x7)
64         .maxstack 8
65         IL_0000:  ldarg.0 
66         IL_0001:  call instance void object::.ctor()
67         IL_0006:  ret 
68     } // end of method Parent`2::.ctor
69
70   .class nested family auto ansi sealed TestEnum<T,U>
71         extends [mscorlib]System.Enum
72   {
73     .field  public specialname  rtspecialname  int32 value__
74     .field public static  literal  valuetype ConsoleApplication1.Parent`2/TestEnum<!0,!1> one = int32(0x00000000)
75     .field public static  literal  valuetype ConsoleApplication1.Parent`2/TestEnum<!0,!1> two = int32(0x00000001)
76     .field public static  literal  valuetype ConsoleApplication1.Parent`2/TestEnum<!0,!1> three = int32(0x00000002)
77
78   } // end of class TestEnum
79
80   } // end of class ConsoleApplication1.Parent`2
81 }
82
83 .namespace ConsoleApplication1
84 {
85   .class private auto ansi beforefieldinit Child
86         extends class ConsoleApplication1.Parent`2<int32,int32>
87   {
88
89     // method line 2
90     .method public hidebysig 
91            instance default void DoIt ()  cil managed 
92     {
93         // Method begins at RVA 0x2058
94         // Code size 29 (0x1d)
95         .maxstack 8
96         IL_0000:  ldarg.0 
97         IL_0001:  ldc.i4.0 
98         IL_0002:  stfld valuetype ConsoleApplication1.Parent`2/TestEnum<!0,!1> class ConsoleApplication1.Parent`2<int32,int32>::te
99         IL_0007:  ldarg.0 
100         IL_0008:  ldfld valuetype ConsoleApplication1.Parent`2/TestEnum<!0,!1> class ConsoleApplication1.Parent`2<int32,int32>::te
101         IL_000d:  box valuetype ConsoleApplication1.Parent`2/TestEnum<int32,int32>
102         IL_0012:  callvirt instance string object::ToString()
103         IL_0017:  call void class [mscorlib]System.Console::WriteLine(string)
104         IL_001c:  ret 
105     } // end of method Child::DoIt
106
107     // method line 3
108     .method public hidebysig  specialname  rtspecialname 
109            instance default void .ctor ()  cil managed 
110     {
111         // Method begins at RVA 0x2076
112         // Code size 7 (0x7)
113         .maxstack 8
114         IL_0000:  ldarg.0 
115         IL_0001:  call instance void class ConsoleApplication1.Parent`2<int32, int32>::.ctor()
116         IL_0006:  ret 
117     } // end of method Child::.ctor
118
119   } // end of class ConsoleApplication1.Child
120 }
121
122 .namespace ConsoleApplication1
123 {
124   .class private auto ansi beforefieldinit Program
125         extends [mscorlib]System.Object
126   {
127
128     // method line 4
129     .method private static  hidebysig 
130            default void Main (string[] args)  cil managed 
131     {
132         // Method begins at RVA 0x2080
133         .entrypoint
134         // Code size 13 (0xd)
135         .maxstack 1
136         .locals init (
137                 class ConsoleApplication1.Child V_0)
138         IL_0000:  newobj instance void class ConsoleApplication1.Child::.ctor()
139         IL_0005:  stloc.0 
140         IL_0006:  ldloc.0 
141         IL_0007:  callvirt instance void class ConsoleApplication1.Child::DoIt()
142         IL_000c:  ret 
143     } // end of method Program::Main
144
145     // method line 5
146     .method public hidebysig  specialname  rtspecialname 
147            instance default void .ctor ()  cil managed 
148     {
149         // Method begins at RVA 0x2099
150         // Code size 7 (0x7)
151         .maxstack 8
152         IL_0000:  ldarg.0 
153         IL_0001:  call instance void object::.ctor()
154         IL_0006:  ret 
155     } // end of method Program::.ctor
156
157   } // end of class ConsoleApplication1.Program
158 }
159