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