8 references to GetPrime
Microsoft.CodeAnalysis (8)
src\Dependencies\Collections\Internal\HashHelpers.cs (2)
89
Debug.Assert(MaxPrimeArrayLength ==
GetPrime
(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength");
93
return
GetPrime
(newSize);
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
492
var size = HashHelpers.
GetPrime
(capacity);
968
var newSize = HashHelpers.
GetPrime
(capacity);
1002
var newSize = HashHelpers.
GetPrime
(capacity);
src\Dependencies\Collections\SegmentedHashSet`1.cs (3)
890
var newSize = HashHelpers.
GetPrime
(capacity);
954
var newSize = HashHelpers.
GetPrime
(capacity);
998
var size = HashHelpers.
GetPrime
(capacity);