@@ -2288,7 +2288,7 @@ public static void Eval(object obj1, object obj2)
22882288 compilation . VerifyIL ( "NullableTest.EqualEqual" ,
22892289@"
22902290{
2291- // Code size 112 (0x70 )
2291+ // Code size 104 (0x68 )
22922292 .maxstack 2
22932293 .locals init (decimal? V_0)
22942294 IL_0000: ldc.i4.0
@@ -2302,27 +2302,24 @@ .locals init (decimal? V_0)
23022302 IL_001c: ldloca.s V_0
23032303 IL_001e: call ""decimal decimal?.GetValueOrDefault()""
23042304 IL_0023: call ""bool decimal.op_Equality(decimal, decimal)""
2305- IL_0028: ldloca.s V_0
2306- IL_002a: call ""bool decimal?.HasValue.get""
2307- IL_002f: and
2308- IL_0030: box ""bool""
2309- IL_0035: ldc.i4.0
2310- IL_0036: box ""bool""
2311- IL_003b: call ""void Test.Eval(object, object)""
2312- IL_0040: ldsfld ""decimal decimal.Zero""
2313- IL_0045: ldsfld ""decimal? NullableTest.NULL""
2314- IL_004a: stloc.0
2315- IL_004b: ldloca.s V_0
2316- IL_004d: call ""decimal decimal?.GetValueOrDefault()""
2317- IL_0052: call ""bool decimal.op_Equality(decimal, decimal)""
2318- IL_0057: ldloca.s V_0
2319- IL_0059: call ""bool decimal?.HasValue.get""
2320- IL_005e: and
2321- IL_005f: box ""bool""
2322- IL_0064: ldc.i4.0
2323- IL_0065: box ""bool""
2324- IL_006a: call ""void Test.Eval(object, object)""
2325- IL_006f: ret
2305+ IL_0028: box ""bool""
2306+ IL_002d: ldc.i4.0
2307+ IL_002e: box ""bool""
2308+ IL_0033: call ""void Test.Eval(object, object)""
2309+ IL_0038: ldsfld ""decimal decimal.Zero""
2310+ IL_003d: ldsfld ""decimal? NullableTest.NULL""
2311+ IL_0042: stloc.0
2312+ IL_0043: ldloca.s V_0
2313+ IL_0045: call ""decimal decimal?.GetValueOrDefault()""
2314+ IL_004a: call ""bool decimal.op_Equality(decimal, decimal)""
2315+ IL_004f: ldloca.s V_0
2316+ IL_0051: call ""bool decimal?.HasValue.get""
2317+ IL_0056: and
2318+ IL_0057: box ""bool""
2319+ IL_005c: ldc.i4.0
2320+ IL_005d: box ""bool""
2321+ IL_0062: call ""void Test.Eval(object, object)""
2322+ IL_0067: ret
23262323}
23272324" ) ;
23282325 }
0 commit comments