[xbuild] Add missing api for Target.
[mono.git] / mono / tests / verifier / valid_boxed_vt_compatible_with_sys_vt_or_sys_enum.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 'ltest-07'
7 {
8   .hash algorithm 0x00008004
9   .ver  0:0:0:0
10 }
11 .module 'ltest-07.exe'
12
13
14 .class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
15 {
16         .method public static hidebysig default void WithEnum ([mscorlib]System.Enum a) cil managed 
17         {
18                 ret
19         }
20
21         .method public static hidebysig default void WithValueType ([mscorlib]System.ValueType a) cil managed 
22         {
23                 ret
24         }
25
26         .method public static hidebysig default void Main ()  cil managed 
27         {
28                 .entrypoint
29                 .maxstack 8
30                 .locals init (valuetype [mscorlib]System.Nullable`1<valuetype [mscorlib]System.DayOfWeek>       V_0,
31                                           valuetype [mscorlib]System.DayOfWeek V_2)
32
33                 ldc.i4.1
34                 box int32
35                 call void Driver::WithValueType([mscorlib]System.ValueType)
36
37                 ldloc.1
38                 box valuetype [mscorlib]System.DayOfWeek
39                 call void Driver::WithValueType([mscorlib]System.ValueType)
40
41                 ldloc.1
42                 box valuetype [mscorlib]System.DayOfWeek
43                 call void Driver::WithEnum ([mscorlib]System.Enum)
44
45                 ldloc.0
46                 box valuetype [mscorlib]System.Nullable`1<valuetype [mscorlib]System.DayOfWeek>
47                 call void Driver::WithValueType([mscorlib]System.ValueType)
48                 
49                 ldloc.0
50                 box valuetype [mscorlib]System.Nullable`1<valuetype [mscorlib]System.DayOfWeek>
51                 call void Driver::WithEnum ([mscorlib]System.Enum)
52
53                 ret
54         }
55 }
56
57