3 references to ExpandPrime
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
642=> Resize(HashHelpers.ExpandPrime(_count));
src\Dependencies\Collections\SegmentedHashSet`1.cs (2)
161var threshold = HashHelpers.ExpandPrime(source.Count + 1); 895private void Resize() => Resize(HashHelpers.ExpandPrime(_count));