1 write to OperatorKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1744this.OperatorKind = operatorKind;
15 references to OperatorKind
Microsoft.CodeAnalysis.CSharp (15)
BoundTree\NullabilityRewriter.cs (1)
108BoundUserDefinedConditionalLogicalOperator logical => logical.Update(logical.OperatorKind, logical.LogicalOperator, logical.TrueOperator, logical.FalseOperator, logical.ConstrainedToTypeOpt, logical.ResultKind, logical.OriginalUserDefinedOperatorsOpt, leftChild, right, type!),
FlowAnalysis\AbstractFlowPass.cs (1)
2466kind = udBinOp.OperatorKind;
FlowAnalysis\NullableWalker.cs (1)
11394if (node.OperatorKind.IsLifted())
Generated\BoundNodes.xml.Generated.cs (3)
1766if (operatorKind != this.OperatorKind || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(logicalOperator, this.LogicalOperator) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(trueOperator, this.TrueOperator) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(falseOperator, this.FalseOperator) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || left != this.Left || right != this.Right || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11073return node.Update(node.OperatorKind, node.LogicalOperator, node.TrueOperator, node.FalseOperator, constrainedToTypeOpt, node.ResultKind, node.OriginalUserDefinedOperatorsOpt, left, right, type); 15352new TreeDumperNode("operatorKind", node.OperatorKind, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
198return VisitBinaryOperator(userDefCondLogOp.OperatorKind, userDefCondLogOp.LogicalOperator, userDefCondLogOp.Type, userDefCondLogOp.Left, userDefCondLogOp.Right);
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
708var unary = node.OperatorKind.Operator() == BinaryOperatorKind.And ? node.FalseOperator : node.TrueOperator;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
72var operatorKind = node.OperatorKind;
Lowering\MethodToClassRewriter.cs (1)
313node.OperatorKind,
Operations\CSharpOperationFactory.cs (5)
1485BinaryOperatorKind operatorKind = Helper.DeriveBinaryOperatorKind(boundBinaryOperator.OperatorKind); 1487IMethodSymbol unaryOperatorMethod = boundBinaryOperator.OperatorKind.Operator() == CSharp.BinaryOperatorKind.And ? 1493bool isLifted = boundBinaryOperator.OperatorKind.IsLifted(); 1494bool isChecked = boundBinaryOperator.OperatorKind.IsChecked(); 1498GetConstrainedToTypeForOperator(boundBinaryOperator.OperatorKind.Operator() == CSharp.BinaryOperatorKind.And ?