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