diff options
author | Jon Hanna <jon@hackcraft.net> | 2017-02-11 00:42:24 +0300 |
---|---|---|
committer | Jon Hanna <jon@hackcraft.net> | 2017-02-11 00:42:24 +0300 |
commit | cf71992c7b230985a604d3773514089951265d11 (patch) | |
tree | 8b916b08dfd12e589126ee75fb2d38d57b43549b | |
parent | b4ea972651c28e5e7815a984e97ca8f38a178ba0 (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.cs | 2 |
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); |