21 references to Operator
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Operators.cs (2)
2783
UnaryOperatorKind newKind = kind.
Operator
().WithType(upconvertSpecialType);
2791
var binder = kind.
Operator
() == UnaryOperatorKind.BitwiseComplement ?
Binder\Semantics\Operators\OperatorKindExtensions.cs (4)
21
return ((int)kind.
Operator
() >> 8) - 16;
69
switch (kind.
Operator
())
382
switch (kind.
Operator
())
399
throw ExceptionUtilities.UnexpectedValue(kind.
Operator
());
CodeGen\EmitOperators.cs (3)
40
switch (operatorKind.
Operator
())
54
throw ExceptionUtilities.UnexpectedValue(operatorKind.
Operator
());
511
Debug.Assert(expression.OperatorKind.
Operator
() == UnaryOperatorKind.UnaryMinus);
CodeGen\Optimizer.cs (1)
1588
if (node.OperatorKind.IsChecked() && node.OperatorKind.
Operator
() == UnaryOperatorKind.UnaryMinus)
Compilation\CSharpSemanticModel.cs (2)
3797
UnaryOperatorKind op = unaryOperator.OperatorKind.
Operator
();
3820
UnaryOperatorKind op = increment.OperatorKind.
Operator
();
FlowAnalysis\NullableWalker.cs (1)
9611
var op = node.OperatorKind.
Operator
();
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (5)
31
switch (node.OperatorKind.
Operator
())
119
else if (kind.
Operator
() == UnaryOperatorKind.UnaryPlus)
135
UnaryOperatorKind newKind = kind.
Operator
().WithType(upconvertSpecialType);
372
var op = node.OperatorKind.
Operator
();
378
var op = node.OperatorKind.
Operator
();
Operations\CSharpOperationFactory_Methods.cs (3)
417
switch (operatorKind.
Operator
())
430
switch (operatorKind.
Operator
())
443
switch (operatorKind.
Operator
())