2 writes to Label
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
5153this.Label = label; 5162this.Label = label;
17 references to Label
Microsoft.CodeAnalysis.CSharp (17)
Binder\SwitchExpressionBinder.cs (1)
93if (n is BoundLeafDecisionDagNode leaf && leaf.Label == defaultLabel)
BoundTree\BoundDecisionDag.cs (1)
57result.Add(leaf.Label);
BoundTree\BoundDecisionDagNode.cs (5)
32return n1.Label == n2.Label; 49return RuntimeHelpers.GetHashCode(n.Label); 111builder.Append(node.Label is GeneratedLabelSymbol generated 113: $"leaf `{node.Label.Name}`");
FlowAnalysis\NullableWalker_Patterns.cs (2)
667labelStateMap.Add(d.Label, (this.State, nodeBelievedReachable)); 901var leaf = nodes.Where(n => n is BoundLeafDecisionDagNode leaf && leaf.Label == node.DefaultLabel).First();
Generated\BoundNodes.xml.Generated.cs (2)
5172if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label)) 16171new 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)
70return n.Label == whenTrueLabel; 141return node is BoundLeafDecisionDagNode l && l.Label == whenFalseLabel; 278Debug.Assert(leafNode.Label == whenTrueLabel); 284Debug.Assert(whenNode.WhenTrue is BoundLeafDecisionDagNode d && d.Label == whenTrueLabel);