1 write to LogicalOperator
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1745this.LogicalOperator = logicalOperator;
27 references to LogicalOperator
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder.ValueChecks.cs (8)
3604(logicalOperator.LogicalOperator.HasUnsupportedMetadata || 3605logicalOperator.LogicalOperator.RefKind == RefKind.None)); 3974(logicalOperator.LogicalOperator.HasUnsupportedMetadata || 3975logicalOperator.LogicalOperator.RefKind == RefKind.None)); 4436MethodInfo.Create(uo.LogicalOperator), 4439uo.LogicalOperator.Parameters, 5235MethodInfo.Create(uo.LogicalOperator), 5238uo.LogicalOperator.Parameters,
BoundTree\BoundExpression.cs (1)
423get { return this.LogicalOperator; }
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!),
Compilation\CSharpSemanticModel.cs (1)
3557GetSymbolsAndResultKind(@operator, @operator.LogicalOperator, @operator.OriginalUserDefinedOperatorsOpt, out symbols, out resultKind);
FlowAnalysis\NullableWalker.cs (6)
11342if ((object)node.LogicalOperator != null && node.LogicalOperator.ParameterCount == 2) 11344return GetReturnTypeWithState(node.LogicalOperator); 11368if (binary.LogicalOperator != null && binary.LogicalOperator.ParameterCount == 2) 11370logicalOperator = binary.LogicalOperator;
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)) 11037return node.Update(node.OperatorKind, node.LogicalOperator, node.TrueOperator, node.FalseOperator, constrainedToTypeOpt, node.ResultKind, node.OriginalUserDefinedOperatorsOpt, left, right, type); 15317new TreeDumperNode("logicalOperator", node.LogicalOperator, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
198return VisitBinaryOperator(userDefCondLogOp.OperatorKind, userDefCondLogOp.LogicalOperator, userDefCondLogOp.Type, userDefCondLogOp.Left, userDefCondLogOp.Right);
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
707var binary = node.LogicalOperator;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
80return node.Update(operatorKind, node.LogicalOperator, node.TrueOperator, node.FalseOperator, node.ConstrainedToTypeOpt, node.ResultKind, loweredLeft, loweredRight, type); 92var andOperatorCall = LowerUserDefinedBinaryOperator(syntax, operatorKind & ~BinaryOperatorKind.Logical, boundTemp, loweredRight, type, node.LogicalOperator, node.ConstrainedToTypeOpt);
Lowering\MethodToClassRewriter.cs (1)
314VisitMethodSymbol(node.LogicalOperator),
Operations\CSharpOperationFactory.cs (2)
1486IMethodSymbol operatorMethod = boundBinaryOperator.LogicalOperator.GetPublicSymbol(); 1497TypeSymbol? constrainedToTypeOpt = GetConstrainedToTypeForOperator(boundBinaryOperator.LogicalOperator, boundBinaryOperator.ConstrainedToTypeOpt) ??