Merge pull request #649 from DavidS/feature/implement-additional-reference-path
[mono.git] / mono / tests / verifier / valid_nullable_store.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 'test'
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   .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::'.ctor'(int32) =  (01 00 08 00 00 00 00 00 ) // ........
13
14   .hash algorithm 0x00008004
15   .ver  0:0:0:0
16 }
17 .module test.exe // GUID = {E2A189E0-A26B-4210-99AE-84ECC4B299A5}
18
19
20   .class private auto ansi beforefieldinit Test
21         extends [mscorlib]System.Object
22   {
23
24     // method line 1
25     .method private static  hidebysig 
26            default void Main ()  cil managed 
27     {
28         // Method begins at RVA 0x2050
29         .entrypoint
30         // Code size 31 (0x1f)
31         .maxstack 2
32         .locals init (valuetype [mscorlib]System.Nullable`1<float64>    V_0)
33                 //ldloca.s 0
34                 //initobj valuetype [mscorlib]System.Nullable`1<float64>
35                 ldloc.0
36                 ldloc.0
37                 call bool class Test::AreEqual(valuetype [mscorlib]System.Nullable`1<float64>, valuetype [mscorlib]System.Nullable`1<float64>) 
38                 pop
39                 ret 
40     }
41
42     // method line 2
43     .method private static  hidebysig 
44            default bool AreEqual (valuetype [mscorlib]System.Nullable`1<float64> A_1, valuetype [mscorlib]System.Nullable`1<float64> A_2)  cil managed 
45     {
46         // Method begins at RVA 0x207c
47         // Code size 67 (0x43)
48         .maxstack 4
49         .locals init (
50                 bool    V_0,
51                 valuetype [mscorlib]System.Nullable`1<float64>  V_1,
52                 valuetype [mscorlib]System.Nullable`1<float64>  V_2)
53                 ldarg 0
54                 stloc.1
55                 ldc.i4.0
56                 ret 
57     }
58 }
59