Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hanna <jon@hackcraft.net>2017-02-11 00:42:24 +0300
committerJon Hanna <jon@hackcraft.net>2017-02-11 00:42:24 +0300
commitcf71992c7b230985a604d3773514089951265d11 (patch)
tree8b916b08dfd12e589126ee75fb2d38d57b43549b
parentb4ea972651c28e5e7815a984e97ca8f38a178ba0 (diff)
Fix build
#15807 and #15946 in combination broke the build. Fix it.
-rw-r--r--src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs b/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs
index 4ed281a8a8..2f3339997a 100644
--- a/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs
+++ b/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs
@@ -1087,7 +1087,7 @@ namespace System.Linq.Expressions.Compiler
il.Emit(OpCodes.Ldsfld, Decimal_MinusOne);
return;
case 0:
- il.EmitDefault(typeof(decimal));
+ il.EmitDefault(typeof(decimal), locals: null); // locals won't be used.
return;
case 1:
il.Emit(OpCodes.Ldsfld, Decimal_One);