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