1 instantiation of BoundConditionalAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5952var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.HasErrors);
33 references to BoundConditionalAccess
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Expressions.cs (2)
10939private BoundConditionalAccess BindConditionalAccessExpression(ConditionalAccessExpressionSyntax node, BindingDiagnosticBag diagnostics) 11038private 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)
5948public BoundConditionalAccess Update(BoundExpression receiver, BoundExpression accessExpression, TypeSymbol type) 5952var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.HasErrors); 9145return VisitConditionalAccess((BoundConditionalAccess)node, arg); 9460public virtual R VisitConditionalAccess(BoundConditionalAccess node, A arg) => this.DefaultVisit(node, arg); 9696public virtual BoundNode? VisitConditionalAccess(BoundConditionalAccess node) => this.DefaultVisit(node); 10428public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 11698public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 13822public override BoundNode? VisitConditionalAccess(BoundConditionalAccess node) 13826BoundConditionalAccess updatedNode; 16318public 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)