2 instantiations of BoundUnconvertedSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\SwitchExpressionBinder.cs (1)
47return new BoundUnconvertedSwitchExpression(
Generated\BoundNodes.xml.Generated.cs (1)
5001var 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 (3)
202var convertedSwitch = ConvertSwitchExpression((BoundUnconvertedSwitchExpression)source, destination, conversionIfTargetTyped: conversion, diagnostics); 263source = ConvertSwitchExpression((BoundUnconvertedSwitchExpression)source, type, conversionIfTargetTyped: null, diagnostics, hasErrors); 2491private BoundExpression ConvertSwitchExpression(BoundUnconvertedSwitchExpression source, TypeSymbol destination, Conversion? conversionIfTargetTyped, BindingDiagnosticBag diagnostics, bool hasErrors = false)
Binder\Binder_Expressions.cs (1)
319case BoundUnconvertedSwitchExpression expr:
Binder\Binder_Statements.cs (2)
2437var switchExpression = (BoundUnconvertedSwitchExpression)operand;
Binder\DecisionDagBuilder.cs (1)
48/// cref="BoundSwitchStatement"/> and <see cref="BoundUnconvertedSwitchExpression"/>) and is used for semantic
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1208case BoundUnconvertedSwitchExpression switchExpression:
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
150public override BoundNode VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (2)
1038public override BoundNode VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 1160Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null || _disableDiagnostics))
Generated\BoundNodes.xml.Generated.cs (10)
4997public BoundUnconvertedSwitchExpression Update(BoundExpression expression, ImmutableArray<BoundSwitchExpressionArm> switchArms, BoundDecisionDag reachabilityDecisionDag, LabelSymbol? defaultLabel, bool reportedNotExhaustive, TypeSymbol? type) 5001var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.HasErrors); 9335return VisitUnconvertedSwitchExpression((BoundUnconvertedSwitchExpression)node, arg); 9687public virtual R VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node, A arg) => this.DefaultVisit(node, arg); 9928public virtual BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) => this.DefaultVisit(node); 10549public override BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 11928public override BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 14128public override BoundNode? VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node) 14133BoundUnconvertedSwitchExpression updatedNode; 16603public override TreeDumperNode VisitUnconvertedSwitchExpression(BoundUnconvertedSwitchExpression node, object? arg) => new TreeDumperNode("unconvertedSwitchExpression", null, new TreeDumperNode[]