12 references to Negate
Microsoft.CSharp (12)
Microsoft\CSharp\RuntimeBinder\Semantics\COperators.cs (1)
62
new OperatorInfo(TokenKind.Minus, PredefinedName.PN_OPUNARYMINUS, ExpressionKind.
Negate
),
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionKind.cs (1)
118
case ExpressionKind.
Negate
:
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
177
ExprUnaryOp unary = CreateUnaryOp(ExpressionKind.
Negate
, operand.Type, operand);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
1094
ek = ExpressionKind.
Negate
;
1808
Debug.Assert(ek == ExpressionKind.
Negate
|| ek == ExpressionKind.UnaryPlus);
1813
if (ek == ExpressionKind.
Negate
)
2195
Debug.Assert((op2 == null) == (kind == ExpressionKind.
Negate
|| kind == ExpressionKind.UnaryPlus || kind == ExpressionKind.BitwiseNot));
2197
if (kind == ExpressionKind.
Negate
)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
485
case ExpressionKind.
Negate
:
604
case ExpressionKind.
Negate
:
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (2)
81
ExpressionKind.
Negate
=> VisitNEG(pExpr as ExprUnaryOp),
147
case ExpressionKind.
Negate
: