21 references to Negate
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\Operators\OperatorKindExtensions.cs (1)
393
case UnaryOperatorKind.UnaryMinus: return ExpressionType.
Negate
;
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
408
ExpressionType.
Negate
=> SpecialNames.CLR_UnaryNegation,
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
1074
case ExpressionType.
Negate
:
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (1)
1162
Return ExpressionType.
Negate
System.Linq.Expressions (17)
System\Dynamic\UnaryOperationBinder.cs (1)
90
case ExpressionType.
Negate
:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
74
case ExpressionType.
Negate
:
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (1)
213
case ExpressionType.
Negate
:
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
72
case ExpressionType.
Negate
:
System\Linq\Expressions\DebugViewWriter.cs (3)
621
(parent.NodeType == ExpressionType.
Negate
|| parent.NodeType == ExpressionType.NegateChecked))
714
case ExpressionType.
Negate
:
895
case ExpressionType.
Negate
:
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
604
case ExpressionType.
Negate
:
633
case ExpressionType.
Negate
:
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
1252
case ExpressionType.
Negate
:
3059
case ExpressionType.
Negate
:
System\Linq\Expressions\UnaryExpression.cs (6)
321
ExpressionType.
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>
478
return new UnaryExpression(ExpressionType.
Negate
, expression, expression.Type, null);
480
return GetUserDefinedUnaryOperatorOrThrow(ExpressionType.
Negate
, "op_UnaryNegation", expression);
482
return GetMethodBasedUnaryOperator(ExpressionType.
Negate
, expression, method);