18 references to NegateChecked
System.Linq.Expressions (18)
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (2)
75
case ExpressionType.
NegateChecked
:
181
case ExpressionType.
NegateChecked
:
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (2)
72
else if (node.NodeType == ExpressionType.
NegateChecked
&& node.Operand.Type.IsInteger())
214
case ExpressionType.
NegateChecked
:
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
73
case ExpressionType.
NegateChecked
:
System\Linq\Expressions\DebugViewWriter.cs (3)
621
(parent.NodeType == ExpressionType.Negate || parent.NodeType == ExpressionType.
NegateChecked
))
715
case ExpressionType.
NegateChecked
:
898
case ExpressionType.
NegateChecked
:
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
605
case ExpressionType.
NegateChecked
: Out('-'); break;
634
case ExpressionType.
NegateChecked
:
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
1248
case ExpressionType.
NegateChecked
:
3060
case ExpressionType.
NegateChecked
:
System\Linq\Expressions\UnaryExpression.cs (6)
322
ExpressionType.
NegateChecked
=> NegateChecked(operand, method),
521
/// <returns>A <see cref="UnaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
NegateChecked
"/> and the <see cref="UnaryExpression.Operand"/> property set to the specified value.</returns>
531
/// <returns>A <see cref="UnaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
NegateChecked
"/> and the <see cref="UnaryExpression.Operand"/> and <see cref="UnaryExpression.Method"/> properties set to the specified values.</returns>
547
return new UnaryExpression(ExpressionType.
NegateChecked
, expression, expression.Type, null);
549
return GetUserDefinedUnaryOperatorOrThrow(ExpressionType.
NegateChecked
, "op_UnaryNegation", expression);
551
return GetMethodBasedUnaryOperator(ExpressionType.
NegateChecked
, expression, method);