7 references to CreateUnaryOp
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
182
? (ExprOperator)
CreateUnaryOp
(exprKind, type, arg1)
196
ExprUnaryOp unary =
CreateUnaryOp
(ExpressionKind.Negate, operand.Type, operand);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
1554
ExprUnaryOp exprRes = ExprFactory.
CreateUnaryOp
(ek, type, pArgument);
1785
ExprUnaryOp exprRes = ExprFactory.
CreateUnaryOp
((ek == ExpressionKind.Add) ? ExpressionKind.Inc : ExpressionKind.Dec, arg.Type/* type */, exprVal);
1858
return ExprFactory.
CreateUnaryOp
(ExpressionKind.UnaryPlus, typeDec, arg);
1969
return ExprFactory.
CreateUnaryOp
(ExpressionKind.LogicalNot, typeBool, arg);
2809
ExprUnaryOp pUnaryOp = ExprFactory.
CreateUnaryOp
(ek, pRetType, pArg);