2 writes to Label
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
5152
this.
Label
= label;
5161
this.
Label
= label;
17 references to Label
Microsoft.CodeAnalysis.CSharp (17)
Binder\SwitchExpressionBinder.cs (1)
93
if (n is BoundLeafDecisionDagNode leaf && leaf.
Label
== defaultLabel)
BoundTree\BoundDecisionDag.cs (1)
57
result.Add(leaf.
Label
);
BoundTree\BoundDecisionDagNode.cs (5)
32
return n1.
Label
== n2.
Label
;
49
return RuntimeHelpers.GetHashCode(n.
Label
);
111
builder.Append(node.
Label
is GeneratedLabelSymbol generated
113
: $"leaf `{node.
Label
.Name}`");
FlowAnalysis\NullableWalker_Patterns.cs (2)
667
labelStateMap.Add(d.
Label
, (this.State, nodeBelievedReachable));
901
var leaf = nodes.Where(n => n is BoundLeafDecisionDagNode leaf && leaf.
Label
== node.DefaultLabel).First();
Generated\BoundNodes.xml.Generated.cs (2)
5171
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.
Label
))
16134
new TreeDumperNode("label", node.
Label
, null),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
79
_dagNodeLabels[node] = d.
Label
;
115
_dagNodeLabels.Add(dag, label = dag is BoundLeafDecisionDagNode d ? d.
Label
: _factory.GenerateLabel("dagNode"));
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (4)
70
return n.
Label
== whenTrueLabel;
141
return node is BoundLeafDecisionDagNode l && l.
Label
== whenFalseLabel;
278
Debug.Assert(leafNode.
Label
== whenTrueLabel);
284
Debug.Assert(whenNode.WhenTrue is BoundLeafDecisionDagNode d && d.
Label
== whenTrueLabel);