1 instantiation of BoundUnconvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4961
var result = new
BoundUnconvertedSwitchExpression
(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors);
21 references to BoundUnconvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Conversions.cs (2)
161
var convertedSwitch = ConvertSwitchExpression((
BoundUnconvertedSwitchExpression
)source, destination, conversionIfTargetTyped: conversion, diagnostics);
219
source = ConvertSwitchExpression((
BoundUnconvertedSwitchExpression
)source, type, conversionIfTargetTyped: null, diagnostics, hasErrors);
Binder\Binder_Expressions.cs (1)
290
case
BoundUnconvertedSwitchExpression
expr:
Binder\Binder_Invocation.cs (1)
1158
case
BoundUnconvertedSwitchExpression
{ Type: { } naturalType } switchExpr:
Binder\Binder_Statements.cs (2)
2390
var
switchExpression = (
BoundUnconvertedSwitchExpression
)operand;
Binder\DecisionDagBuilder.cs (1)
49
/// cref="BoundSwitchStatement"/> and <see cref="
BoundUnconvertedSwitchExpression
"/>) and is used for semantic
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1193
case
BoundUnconvertedSwitchExpression
switchExpression:
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
150
public override BoundNode VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node)
FlowAnalysis\NullableWalker_Patterns.cs (2)
870
public override BoundNode VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node)
966
Debug.Assert((node is
BoundUnconvertedSwitchExpression
&& (_returnTypesOpt is not null || _disableDiagnostics))
Generated\BoundNodes.xml.Generated.cs (10)
4957
public
BoundUnconvertedSwitchExpression
Update(BoundExpression expression, ImmutableArray<BoundSwitchExpressionArm> switchArms, BoundDecisionDag reachabilityDecisionDag, LabelSymbol? defaultLabel, bool reportedNotExhaustive, TypeSymbol? type)
4961
var
result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors);
9090
return VisitUnconvertedSwitchExpression((
BoundUnconvertedSwitchExpression
)node, arg);
9433
public virtual R VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node, A arg) => this.DefaultVisit(node, arg);
9669
public virtual BoundNode? VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node) => this.DefaultVisit(node);
10272
public override BoundNode? VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node)
11527
public override BoundNode? VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node)
13635
public override BoundNode? VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node)
13640
BoundUnconvertedSwitchExpression
updatedNode;
16077
public override TreeDumperNode VisitUnconvertedSwitchExpression(
BoundUnconvertedSwitchExpression
node, object? arg) => new TreeDumperNode("unconvertedSwitchExpression", null, new TreeDumperNode[]