1 instantiation of BoundConditionalAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5953var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.HasErrors);
33 references to BoundConditionalAccess
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Expressions.cs (2)
10940private BoundConditionalAccess BindConditionalAccessExpression(ConditionalAccessExpressionSyntax node, BindingDiagnosticBag diagnostics) 11039private BoundConditionalAccess GenerateBadConditionalAccessNodeError(ConditionalAccessExpressionSyntax node, BoundExpression receiver, BoundExpression access, BindingDiagnosticBag diagnostics)
FlowAnalysis\AbstractFlowPass.cs (7)
2978var access = node switch 2980BoundConditionalAccess ca => ca, 2981BoundConversion { Conversion: Conversion conversion, Operand: BoundConditionalAccess ca } when CanPropagateStateWhenNotNull(conversion) => ca, 3040private void VisitConditionalAccess(BoundConditionalAccess node, out TLocalState stateWhenNotNull) 3087while (expr is BoundConditionalAccess innerCondAccess) 3089Debug.Assert(innerCondAccess.Receiver is not (BoundConditionalAccess or BoundConversion)); 3109public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node)
FlowAnalysis\NullableWalker.cs (8)
5402var conditional = (BoundConditionalAccess)operand; 5745if (operand is not BoundConditionalAccess access || !CanPropagateStateWhenNotNull(conversion)) 5807private void VisitConditionalAccess(BoundConditionalAccess node, out PossiblyConditionalState stateWhenNotNull) 5850while (expr is BoundConditionalAccess innerCondAccess) 5854Debug.Assert(innerCondAccess.Receiver is not (BoundConditionalAccess or BoundConversion)); 5870while (expr is BoundConditionalAccess innerCondAccess) 5925public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node)
Generated\BoundNodes.xml.Generated.cs (10)
5949public BoundConditionalAccess Update(BoundExpression receiver, BoundExpression accessExpression, TypeSymbol type) 5953var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.HasErrors); 9182return VisitConditionalAccess((BoundConditionalAccess)node, arg); 9497public virtual R VisitConditionalAccess(BoundConditionalAccess node, A arg) => this.DefaultVisit(node, arg); 9733public virtual BoundNode? VisitConditionalAccess(BoundConditionalAccess node) => this.DefaultVisit(node); 10465public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 11735public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 13859public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 13863BoundConditionalAccess updatedNode; 16355public override TreeDumperNode VisitConditionalAccess(BoundConditionalAccess node, object? arg) => new TreeDumperNode("conditionalAccess", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
425public override BoundNode VisitConditionalAccess(BoundConditionalAccess node)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (2)
13public override BoundNode VisitConditionalAccess(BoundConditionalAccess node) 38internal BoundExpression? RewriteConditionalAccess(BoundConditionalAccess node, bool used)
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
76return RewriteConditionalAccess((BoundConditionalAccess)expression, used: false);
Operations\CSharpOperationFactory.cs (2)
153return CreateBoundConditionalAccessOperation((BoundConditionalAccess)boundNode); 1705private IConditionalAccessOperation CreateBoundConditionalAccessOperation(BoundConditionalAccess boundConditionalAccess)