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