1 write to DefaultLabel
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4890
this.
DefaultLabel
= defaultLabel;
16 references to DefaultLabel
Microsoft.CodeAnalysis.CSharp (16)
BoundTree\BoundSwitchExpression.cs (1)
14
defaultLabel = this.
DefaultLabel
;
FlowAnalysis\NullableWalker_Patterns.cs (3)
895
if (!node.ReportedNotExhaustive && node.
DefaultLabel
!= null &&
896
labelStateMap.TryGetValue(node.
DefaultLabel
, out var defaultLabelState) &&
901
var leaf = nodes.Where(n => n is BoundLeafDecisionDagNode leaf && leaf.Label == node.
DefaultLabel
).First();
Generated\BoundNodes.xml.Generated.cs (10)
4958
if (expression != this.Expression || switchArms != this.SwitchArms || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(defaultLabel, this.
DefaultLabel
) || reportedNotExhaustive != this.ReportedNotExhaustive || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4992
if (!TypeSymbol.Equals(naturalTypeOpt, this.NaturalTypeOpt, TypeCompareKind.ConsiderEverything) || wasTargetTyped != this.WasTargetTyped || expression != this.Expression || switchArms != this.SwitchArms || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(defaultLabel, this.
DefaultLabel
) || reportedNotExhaustive != this.ReportedNotExhaustive || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11532
return node.Update(expression, switchArms, reachabilityDecisionDag, node.
DefaultLabel
, node.ReportedNotExhaustive, type);
11541
return node.Update(naturalTypeOpt, node.WasTargetTyped, expression, switchArms, reachabilityDecisionDag, node.
DefaultLabel
, node.ReportedNotExhaustive, type);
13643
updatedNode = node.Update(expression, switchArms, reachabilityDecisionDag, node.
DefaultLabel
, node.ReportedNotExhaustive, infoAndType.Type);
13648
updatedNode = node.Update(expression, switchArms, reachabilityDecisionDag, node.
DefaultLabel
, node.ReportedNotExhaustive, node.Type);
13663
updatedNode = node.Update(naturalTypeOpt, node.WasTargetTyped, expression, switchArms, reachabilityDecisionDag, node.
DefaultLabel
, node.ReportedNotExhaustive, infoAndType.Type!);
13668
updatedNode = node.Update(naturalTypeOpt, node.WasTargetTyped, expression, switchArms, reachabilityDecisionDag, node.
DefaultLabel
, node.ReportedNotExhaustive, node.Type);
16081
new TreeDumperNode("defaultLabel", node.
DefaultLabel
, null),
16095
new TreeDumperNode("defaultLabel", node.
DefaultLabel
, null),
Operations\CSharpOperationFactory.cs (2)
2710
if (boundSwitchExpression.
DefaultLabel
!= null)
2712
Debug.Assert(boundSwitchExpression.
DefaultLabel
is GeneratedLabelSymbol);