1 write to StringCaseLabels
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\LengthBasedStringSwitchData.cs (1)
125
this.
StringCaseLabels
= stringCaseLabels;
4 references to StringCaseLabels
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\LengthBasedStringSwitchData.cs (3)
134
StringBasedJumpTables.All(t => t.
StringCaseLabels
.Length <= 5);
266
builder.AppendLine($"Buckets: {string.Join(", ", StringBasedJumpTables.Select(t => t.
StringCaseLabels
.Length))}");
284
dump(stringJumpTable.
StringCaseLabels
!);
CodeGen\EmitStatement.cs (1)
1464
stringJumpTable.
StringCaseLabels
.Select(p => new KeyValuePair<ConstantValue, object>(ConstantValue.Create(p.value), p.label)).ToArray(),