2 instantiations of BoundConvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
2513
return new
BoundConvertedSwitchExpression
(
Generated\BoundNodes.xml.Generated.cs (1)
5034
var 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)
463
public override BoundNode? VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1205
case
BoundConvertedSwitchExpression
_:
Compilation\CSharpSemanticModel.cs (1)
2140
else if (boundExpr is
BoundConvertedSwitchExpression
{ WasTargetTyped: true } convertedSwitch)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
145
public override BoundNode VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
FlowAnalysis\NullableWalker.cs (1)
5229
BoundConvertedSwitchExpression
{ WasTargetTyped: true } or
FlowAnalysis\NullableWalker_Patterns.cs (1)
1031
public override BoundNode VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
5030
public
BoundConvertedSwitchExpression
Update(TypeSymbol? naturalTypeOpt, bool wasTargetTyped, BoundExpression expression, ImmutableArray<BoundSwitchExpressionArm> switchArms, BoundDecisionDag reachabilityDecisionDag, LabelSymbol? defaultLabel, bool reportedNotExhaustive, TypeSymbol type)
5034
var
result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors);
9336
return VisitConvertedSwitchExpression((
BoundConvertedSwitchExpression
)node, arg);
9687
public virtual R VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node, A arg) => this.DefaultVisit(node, arg);
9928
public virtual BoundNode? VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node) => this.DefaultVisit(node);
10554
public override BoundNode? VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
11936
public override BoundNode? VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
14146
public override BoundNode? VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
14152
BoundConvertedSwitchExpression
updatedNode;
16614
public override TreeDumperNode VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node, object? arg) => new TreeDumperNode("convertedSwitchExpression", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
229
public override BoundNode VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
39
Debug.Assert(node.Operand is
BoundConvertedSwitchExpression
{ WasTargetTyped: true });
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (4)
17
public override BoundNode VisitConvertedSwitchExpression(
BoundConvertedSwitchExpression
node)
29
private SwitchExpressionLocalRewriter(
BoundConvertedSwitchExpression
node, LocalRewriter localRewriter)
35
public static BoundExpression Rewrite(LocalRewriter localRewriter,
BoundConvertedSwitchExpression
node)
43
private BoundExpression LowerSwitchExpression(
BoundConvertedSwitchExpression
node)
Operations\CSharpOperationFactory.cs (2)
272
return CreateBoundSwitchExpressionOperation((
BoundConvertedSwitchExpression
)boundNode);
2770
private ISwitchExpressionOperation CreateBoundSwitchExpressionOperation(
BoundConvertedSwitchExpression
boundSwitchExpression)