1 instantiation of BoundUnconvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4960var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors);
22 references to BoundUnconvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Conversions.cs (3)
161var convertedSwitch = ConvertSwitchExpression((BoundUnconvertedSwitchExpression)source, destination, conversionIfTargetTyped: conversion, diagnostics); 219source = ConvertSwitchExpression((BoundUnconvertedSwitchExpression)source, type, conversionIfTargetTyped: null, diagnostics, hasErrors); 1965private BoundExpression ConvertSwitchExpression(BoundUnconvertedSwitchExpression source, TypeSymbol destination, Conversion? conversionIfTargetTyped, BindingDiagnosticBag diagnostics, bool hasErrors = false)
Binder\Binder_Expressions.cs (1)
295case BoundUnconvertedSwitchExpression expr:
Binder\Binder_Invocation.cs (1)
1181case BoundUnconvertedSwitchExpression { Type: { } naturalType } switchExpr:
Binder\Binder_Statements.cs (2)
2429var 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)
1193case BoundUnconvertedSwitchExpression switchExpression:
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
150public override BoundNode VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (2)
872public override BoundNode VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 968Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null || _disableDiagnostics))
Generated\BoundNodes.xml.Generated.cs (10)
4956public BoundUnconvertedSwitchExpression Update(BoundExpression expression, ImmutableArray<BoundSwitchExpressionArm> switchArms, BoundDecisionDag reachabilityDecisionDag, LabelSymbol? defaultLabel, bool reportedNotExhaustive, TypeSymbol? type) 4960var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors); 9125return VisitUnconvertedSwitchExpression((BoundUnconvertedSwitchExpression)node, arg); 9468public virtual R VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node, A arg) => this.DefaultVisit(node, arg); 9704public virtual BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) => this.DefaultVisit(node); 10309public override BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 11656public override BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 13809public override BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 13814BoundUnconvertedSwitchExpression updatedNode; 16254public override TreeDumperNode VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node, object? arg) => new TreeDumperNode("unconvertedSwitchExpression", null, new TreeDumperNode[]