8 references to BoxedTrue
System.Linq.Expressions (8)
System\Linq\Expressions\Interpreter\InstructionList.cs (1)
336
Emit(s_true ??= new LoadObjectInstruction(Utils.
BoxedTrue
));
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (1)
71
Data[StackIndex++] = value ? Utils.
BoxedTrue
: Utils.BoxedFalse;
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
827
node.NodeType == ExpressionType.Equal ? AstUtils.BoxedFalse : AstUtils.
BoxedTrue
,
1429
_instructions.EmitLoad(andAlso ? AstUtils.
BoxedTrue
: AstUtils.BoxedFalse, typeof(object));
1435
_instructions.EmitLoad(andAlso ? AstUtils.BoxedFalse : AstUtils.
BoxedTrue
, typeof(object));
System\Linq\Expressions\Interpreter\OrInstruction.cs (2)
160
frame.Push((bool)right ? Utils.
BoxedTrue
: null);
167
frame.Push((bool)left ? Utils.
BoxedTrue
: null);
System\Linq\Expressions\Utils.cs (1)
33
private static readonly ConstantExpression s_true = Expression.Constant(
BoxedTrue
);