21 references to Operator
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Operators.cs (2)
2826UnaryOperatorKind newKind = kind.Operator().WithType(upconvertSpecialType); 2834var binder = kind.Operator() == UnaryOperatorKind.BitwiseComplement ?
Binder\Semantics\Operators\OperatorKindExtensions.cs (4)
21return ((int)kind.Operator() >> 8) - 16; 69switch (kind.Operator()) 382switch (kind.Operator()) 399throw ExceptionUtilities.UnexpectedValue(kind.Operator());
CodeGen\EmitOperators.cs (3)
40switch (operatorKind.Operator()) 54throw ExceptionUtilities.UnexpectedValue(operatorKind.Operator()); 583Debug.Assert(expression.OperatorKind.Operator() == UnaryOperatorKind.UnaryMinus);
CodeGen\Optimizer.cs (1)
1655if (node.OperatorKind.IsChecked() && node.OperatorKind.Operator() == UnaryOperatorKind.UnaryMinus)
Compilation\CSharpSemanticModel.cs (2)
3808UnaryOperatorKind op = unaryOperator.OperatorKind.Operator(); 3831UnaryOperatorKind op = increment.OperatorKind.Operator();
FlowAnalysis\NullableWalker.cs (1)
10341var op = node.OperatorKind.Operator();
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (5)
31switch (node.OperatorKind.Operator()) 124else if (kind.Operator() == UnaryOperatorKind.UnaryPlus) 140UnaryOperatorKind newKind = kind.Operator().WithType(upconvertSpecialType); 377var op = node.OperatorKind.Operator(); 383var op = node.OperatorKind.Operator();
Operations\CSharpOperationFactory_Methods.cs (3)
497switch (operatorKind.Operator()) 510switch (operatorKind.Operator()) 523switch (operatorKind.Operator())