8 references to GetPrime
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
src\Dependencies\Collections\Internal\HashHelpers.cs (2)
91Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); 95return GetPrime(newSize);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
494var size = HashHelpers.GetPrime(capacity); 970var newSize = HashHelpers.GetPrime(capacity); 1004var newSize = HashHelpers.GetPrime(capacity);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
892var newSize = HashHelpers.GetPrime(capacity); 956var newSize = HashHelpers.GetPrime(capacity); 1000var size = HashHelpers.GetPrime(capacity);