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