4 writes to _count
Microsoft.Build (4)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (4)
129
_count
= 0;
273
_count
= 0;
440
_count
--;
859
_count
++;
14 references to _count
Microsoft.Build (14)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (14)
184
if ((
_count
== 0 && _slots.Length > HashHelpers.GetMinPrime()) ||
185
(
_count
> 0 && _slots.Length /
_count
> ShrinkThreshold))
207
var keys = new string[
_count
];
388
CopyTo(array, arrayIndex,
_count
);
442
if (
_count
== 0)
464
get { return
_count
; }
529
T[] array = new T[
_count
];
651
public void CopyTo(T[] array) { CopyTo(array, 0,
_count
); }
706
Debug.Assert(
_count
>= 0, "m_count is negative");
708
if (
_count
== 0)
721
int newSize = HashHelpers.GetPrime(
_count
);
781
int newSize = HashHelpers.ExpandPrime(
_count
);
782
if (newSize <=
_count
)