11 references to ScriptingRuntimeHelpers
System.Linq.Expressions (11)
System\Linq\Expressions\Interpreter\AddInstruction.cs (2)
47
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject(unchecked((int)left + (int)right));
219
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject(checked((int)left + (int)right));
System\Linq\Expressions\Interpreter\DivInstruction.cs (1)
47
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject((int)left / (int)right);
System\Linq\Expressions\Interpreter\InstructionList.cs (1)
577
object? value =
ScriptingRuntimeHelpers
.GetPrimitiveDefaultValue(type);
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (1)
76
Data[StackIndex++] =
ScriptingRuntimeHelpers
.Int32ToObject(value);
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
365
object? value =
ScriptingRuntimeHelpers
.GetPrimitiveDefaultValue(type);
System\Linq\Expressions\Interpreter\ModuloInstruction.cs (1)
47
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject((int)left % (int)right);
System\Linq\Expressions\Interpreter\MulInstruction.cs (2)
47
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject(unchecked((int)left * (int)right));
220
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject(checked((int)left * (int)right));
System\Linq\Expressions\Interpreter\SubInstruction.cs (2)
47
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject(unchecked((int)left - (int)right));
219
stack[index - 2] = right == null ? null :
ScriptingRuntimeHelpers
.Int32ToObject(checked((int)left - (int)right));