[CI] ignore appdomain-unload-asmload.exe on interp and full-aot
[mono.git] / mono / tests / bug469742.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 'gtest-116'
7 {
8   .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() =  (
9                 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
10                 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) // ceptionThrows.
11
12   .hash algorithm 0x00008004
13   .ver  0:0:0:0
14 }
15 .module 'gtest-116.exe' // GUID = {ADBACCC6-7EC7-4C8F-A829-4E8B7BCFF277}
16
17
18 .namespace Slow
19 {
20   .class interface public auto ansi abstract ITest
21   {
22
23     // method line 1
24     .method public virtual  hidebysig  newslot  abstract 
25            instance default void DoNothing<class T> ()  cil managed 
26     {
27         // Method begins at RVA 0x0
28     } // end of method ITest::DoNothing
29
30   } // end of class Slow.ITest
31 }
32
33 .namespace Slow
34 {
35   .class public auto ansi beforefieldinit Test
36         extends [mscorlib]System.Object
37         implements Slow.ITest  {
38
39     // method line 2
40     .method public hidebysig  specialname  rtspecialname 
41            instance default void '.ctor' ()  cil managed 
42     {
43         // Method begins at RVA 0x20ec
44         // Code size 7 (0x7)
45         .maxstack 8
46         IL_0000:  ldarg.0 
47         IL_0001:  call instance void object::'.ctor'()
48         IL_0006:  ret 
49     } // end of method Test::.ctor
50
51     // method line 3
52     .method public final  virtual  hidebysig  newslot 
53            instance default void DoNothing<class T> ()  cil managed 
54     {
55         // Method begins at RVA 0x20f4
56         // Code size 8 (0x8)
57         .maxstack 2
58         .locals init (
59                 !!T     V_0)
60         IL_0000:  ldnull 
61         IL_0001:  unbox.any !!0
62         IL_0006:  stloc.0 
63         IL_0007:  ret 
64     } // end of method Test::DoNothing
65
66   } // end of class Slow.Test
67 }
68
69 .namespace Slow
70 {
71   .class private auto ansi beforefieldinit Program
72         extends [mscorlib]System.Object
73   {
74
75     // method line 4
76     .method public hidebysig  specialname  rtspecialname 
77            instance default void '.ctor' ()  cil managed 
78     {
79         // Method begins at RVA 0x2108
80         // Code size 7 (0x7)
81         .maxstack 8
82         IL_0000:  ldarg.0 
83         IL_0001:  call instance void object::'.ctor'()
84         IL_0006:  ret 
85     } // end of method Program::.ctor
86
87     // method line 5
88     .method private static  hidebysig 
89            default void Main (string[] args)  cil managed 
90     {
91         // Method begins at RVA 0x2110
92         .entrypoint
93         // Code size 201 (0xc9)
94         .maxstack 22
95         .locals init (
96                 int32   V_0,
97                 class Slow.Test V_1,
98                 valuetype [mscorlib]System.DateTime     V_2,
99                 int32   V_3,
100                 valuetype [mscorlib]System.DateTime     V_4,
101                 valuetype [mscorlib]System.TimeSpan     V_5,
102                 class Slow.ITest        V_6,
103                 int32   V_7)
104         IL_0000:  newobj instance void class Slow.Test::'.ctor'()
105         IL_0005:  stloc.1 
106         IL_0006:  call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now()
107         IL_000b:  stloc.2 
108         IL_000c:  ldstr "Calling Test.DoNothing<Program>() on an object reference...  "
109         IL_0011:  call void class [mscorlib]System.Console::Write(string)
110         IL_0016:  ldc.i4.0 
111         IL_0017:  stloc.3 
112         IL_0018:  br IL_0027
113
114         IL_001d:  ldloc.1 
115         IL_001e:  callvirt instance void class Slow.Test::DoNothing<class Slow.Program> ()
116         IL_0023:  ldloc.3 
117         IL_0024:  ldc.i4.1 
118         IL_0025:  add 
119         IL_0026:  stloc.3 
120         IL_0027:  ldloc.3 
121         IL_0028:  ldc.i4 10000
122         IL_002d:  blt IL_001d
123
124         IL_0032:  call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now()
125         IL_0037:  stloc.s 4
126         IL_0039:  ldloc.s 4
127         IL_003b:  ldloc.2 
128         IL_003c:  call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime)
129         IL_0041:  stloc.s 5
130         IL_0043:  ldstr "Took "
131         IL_0048:  ldloca.s 5
132         IL_004a:  call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds()
133         IL_004f:  box [mscorlib]System.Double
134         IL_0054:  ldstr " ms."
135         IL_0059:  call string string::Concat(object, object, object)
136         IL_005e:  call void class [mscorlib]System.Console::WriteLine(string)
137         IL_0063:  ldloc.1 
138         IL_0064:  stloc.s 6
139         IL_0066:  call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now()
140         IL_006b:  stloc.2 
141         IL_006c:  ldstr "Calling Test.DoNothing<Program>() on an interface reference...  "
142         IL_0071:  call void class [mscorlib]System.Console::Write(string)
143         IL_0076:  ldc.i4.0 
144         IL_0077:  stloc.s 7
145         IL_0079:  br IL_008b
146
147         IL_007e:  ldloc.s 6
148         IL_0080:  callvirt instance void class Slow.ITest::DoNothing<class Slow.Program> ()
149         IL_0085:  ldloc.s 7
150         IL_0087:  ldc.i4.1 
151         IL_0088:  add 
152         IL_0089:  stloc.s 7
153         IL_008b:  ldloc.s 7
154         IL_008d:  ldc.i4 10000
155         IL_0092:  blt IL_007e
156
157         IL_0097:  call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now()
158         IL_009c:  stloc.s 4
159         IL_009e:  ldloc.s 4
160         IL_00a0:  ldloc.2 
161         IL_00a1:  call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime)
162         IL_00a6:  stloc.s 5
163         IL_00a8:  ldstr "Took "
164         IL_00ad:  ldloca.s 5
165         IL_00af:  call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds()
166         IL_00b4:  box [mscorlib]System.Double
167         IL_00b9:  ldstr " ms."
168         IL_00be:  call string string::Concat(object, object, object)
169         IL_00c3:  call void class [mscorlib]System.Console::WriteLine(string)
170         IL_00c8:  ret 
171     } // end of method Program::Main
172
173   } // end of class Slow.Program
174 }
175