3 references to ShouldGenerateHashTableSwitch
Microsoft.CodeAnalysis (2)
CodeGen\SwitchStringJumpTableEmitter.cs (2)
89Debug.Assert(_keyHash == null || ShouldGenerateHashTableSwitch(_caseLabels.Length)); 213return module.SupportsPrivateImplClass && ShouldGenerateHashTableSwitch(labelsCount);
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\LengthBasedStringSwitchData.cs (1)
133return SwitchStringJumpTableEmitter.ShouldGenerateHashTableSwitch(labelsCount) &&