4 writes to _count
Microsoft.Build (4)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (4)
126
_count
= 0;
270
_count
= 0;
437
_count
--;
856
_count
++;
14 references to _count
Microsoft.Build (14)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (14)
181
if ((
_count
== 0 && _slots.Length > HashHelpers.GetMinPrime()) ||
182
(
_count
> 0 && _slots.Length /
_count
> ShrinkThreshold))
204
var keys = new string[
_count
];
385
CopyTo(array, arrayIndex,
_count
);
439
if (
_count
== 0)
461
get { return
_count
; }
526
T[] array = new T[
_count
];
648
public void CopyTo(T[] array) { CopyTo(array, 0,
_count
); }
703
Debug.Assert(
_count
>= 0, "m_count is negative");
705
if (
_count
== 0)
718
int newSize = HashHelpers.GetPrime(
_count
);
778
int newSize = HashHelpers.ExpandPrime(
_count
);
779
if (newSize <=
_count
)