21 references to Negate
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\Operators\OperatorKindExtensions.cs (1)
393case UnaryOperatorKind.UnaryMinus: return ExpressionType.Negate;
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
408ExpressionType.Negate => SpecialNames.CLR_UnaryNegation,
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
1074case ExpressionType.Negate:
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (1)
1162Return ExpressionType.Negate
System.Linq.Expressions (17)
System\Dynamic\UnaryOperationBinder.cs (1)
90case ExpressionType.Negate:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
74case ExpressionType.Negate:
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (1)
213case ExpressionType.Negate:
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
72case ExpressionType.Negate:
System\Linq\Expressions\DebugViewWriter.cs (3)
621(parent.NodeType == ExpressionType.Negate || parent.NodeType == ExpressionType.NegateChecked)) 714case ExpressionType.Negate: 895case ExpressionType.Negate:
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
604case ExpressionType.Negate: 633case ExpressionType.Negate:
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
1252case ExpressionType.Negate: 3059case ExpressionType.Negate:
System\Linq\Expressions\UnaryExpression.cs (6)
321ExpressionType.Negate => Negate(operand, method), 454/// <returns>A <see cref="UnaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Negate"/> and the <see cref="UnaryExpression.Operand"/> properties set to the specified value.</returns> 467/// <returns>A <see cref="UnaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Negate"/> and the <see cref="UnaryExpression.Operand"/> and <see cref="UnaryExpression.Method"/> properties set to the specified value.</returns> 478return new UnaryExpression(ExpressionType.Negate, expression, expression.Type, null); 480return GetUserDefinedUnaryOperatorOrThrow(ExpressionType.Negate, "op_UnaryNegation", expression); 482return GetMethodBasedUnaryOperator(ExpressionType.Negate, expression, method);