2 instantiations of BoundConvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
472return new BoundConvertedSwitchExpression(
Generated\BoundNodes.xml.Generated.cs (1)
4883var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors);
24 references to BoundConvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (24)
Binder\RefSafetyAnalysis.cs (1)
352public override BoundNode? VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1108case BoundConvertedSwitchExpression _:
Compilation\CSharpSemanticModel.cs (1)
2150else if (boundExpr is BoundConvertedSwitchExpression { WasTargetTyped: true } convertedSwitch)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
145public override BoundNode VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node)
FlowAnalysis\NullableWalker.cs (1)
4284BoundConvertedSwitchExpression { WasTargetTyped: true } or
FlowAnalysis\NullableWalker_Patterns.cs (1)
823public override BoundNode VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
4879public BoundConvertedSwitchExpression Update(TypeSymbol? naturalTypeOpt, bool wasTargetTyped, BoundExpression expression, ImmutableArray<BoundSwitchExpressionArm> switchArms, BoundDecisionDag reachabilityDecisionDag, LabelSymbol? defaultLabel, bool reportedNotExhaustive, TypeSymbol type) 4883var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors); 8767return VisitConvertedSwitchExpression((BoundConvertedSwitchExpression)node, arg); 9096public virtual R VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node, A arg) => this.DefaultVisit(node, arg); 9324public virtual BoundNode? VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) => this.DefaultVisit(node); 9920public override BoundNode? VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) 11139public override BoundNode? VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) 13186public override BoundNode? VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) 13192BoundConvertedSwitchExpression updatedNode; 15528public override TreeDumperNode VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node, object? arg) => new TreeDumperNode("convertedSwitchExpression", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
218public override BoundNode VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
39Debug.Assert(node.Operand is BoundConvertedSwitchExpression { WasTargetTyped: true });
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (4)
17public override BoundNode VisitConvertedSwitchExpression(BoundConvertedSwitchExpression node) 29private SwitchExpressionLocalRewriter(BoundConvertedSwitchExpression node, LocalRewriter localRewriter) 35public static BoundExpression Rewrite(LocalRewriter localRewriter, BoundConvertedSwitchExpression node) 43private BoundExpression LowerSwitchExpression(BoundConvertedSwitchExpression node)
Operations\CSharpOperationFactory.cs (2)
269return CreateBoundSwitchExpressionOperation((BoundConvertedSwitchExpression)boundNode); 2559private ISwitchExpressionOperation CreateBoundSwitchExpressionOperation(BoundConvertedSwitchExpression boundSwitchExpression)