18 references to NegateChecked
System.Linq.Expressions (18)
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (2)
75case ExpressionType.NegateChecked: 181case ExpressionType.NegateChecked:
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (2)
72else if (node.NodeType == ExpressionType.NegateChecked && node.Operand.Type.IsInteger()) 214case ExpressionType.NegateChecked:
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
73case ExpressionType.NegateChecked:
System\Linq\Expressions\DebugViewWriter.cs (3)
621(parent.NodeType == ExpressionType.Negate || parent.NodeType == ExpressionType.NegateChecked)) 715case ExpressionType.NegateChecked: 898case ExpressionType.NegateChecked:
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
605case ExpressionType.NegateChecked: Out('-'); break; 634case ExpressionType.NegateChecked:
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
1248case ExpressionType.NegateChecked: 3060case ExpressionType.NegateChecked:
System\Linq\Expressions\UnaryExpression.cs (6)
322ExpressionType.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> 547return new UnaryExpression(ExpressionType.NegateChecked, expression, expression.Type, null); 549return GetUserDefinedUnaryOperatorOrThrow(ExpressionType.NegateChecked, "op_UnaryNegation", expression); 551return GetMethodBasedUnaryOperator(ExpressionType.NegateChecked, expression, method);