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)
196
ExprUnaryOp unary = CreateUnaryOp(ExpressionKind.
Negate
, operand.Type, operand);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
1118
ek = ExpressionKind.
Negate
;
1848
Debug.Assert(ek == ExpressionKind.
Negate
|| ek == ExpressionKind.UnaryPlus);
1853
if (ek == ExpressionKind.
Negate
)
2247
Debug.Assert((op2 == null) == (kind == ExpressionKind.
Negate
|| kind == ExpressionKind.UnaryPlus || kind == ExpressionKind.BitwiseNot));
2249
if (kind == ExpressionKind.
Negate
)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
486
case ExpressionKind.
Negate
:
605
case ExpressionKind.
Negate
:
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (2)
81
ExpressionKind.
Negate
=> VisitNEG(pExpr as ExprUnaryOp),
147
case ExpressionKind.
Negate
: