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)
10942private BoundConditionalAccess BindConditionalAccessExpression(ConditionalAccessExpressionSyntax node, BindingDiagnosticBag diagnostics) 11041private BoundConditionalAccess GenerateBadConditionalAccessNodeError(ConditionalAccessExpressionSyntax node, BoundExpression receiver, BoundExpression access, BindingDiagnosticBag diagnostics)
FlowAnalysis\AbstractFlowPass.cs (7)
2974var access = node switch 2976BoundConditionalAccess ca => ca, 2977BoundConversion { Conversion: Conversion conversion, Operand: BoundConditionalAccess ca } when CanPropagateStateWhenNotNull(conversion) => ca, 3036private void VisitConditionalAccess(BoundConditionalAccess node, out TLocalState stateWhenNotNull) 3083while (expr is BoundConditionalAccess innerCondAccess) 3085Debug.Assert(innerCondAccess.Receiver is not (BoundConditionalAccess or BoundConversion)); 3105public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node)
FlowAnalysis\NullableWalker.cs (8)
5341var conditional = (BoundConditionalAccess)operand; 5684if (operand is not BoundConditionalAccess access || !CanPropagateStateWhenNotNull(conversion)) 5746private void VisitConditionalAccess(BoundConditionalAccess node, out PossiblyConditionalState stateWhenNotNull) 5789while (expr is BoundConditionalAccess innerCondAccess) 5793Debug.Assert(innerCondAccess.Receiver is not (BoundConditionalAccess or BoundConversion)); 5809while (expr is BoundConditionalAccess innerCondAccess) 5864public 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); 9146return VisitConditionalAccess((BoundConditionalAccess)node, arg); 9461public virtual R VisitConditionalAccess(BoundConditionalAccess node, A arg) => this.DefaultVisit(node, arg); 9697public virtual BoundNode? VisitConditionalAccess(BoundConditionalAccess node) => this.DefaultVisit(node); 10429public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 11699public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 13823public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 13827BoundConditionalAccess updatedNode; 16319public 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)