6 writes to m_count
System.Core (6)
System\Collections\Generic\HashSet.cs (6)
114
m_count
= 0;
194
m_count
= count;
248
m_count
= 0;
306
m_count
--;
1081
m_count
++;
1354
m_count
++;
32 references to m_count
System.Core (32)
System\Collections\Generic\HashSet.cs (32)
150
if (
m_count
> 0 && m_slots.Length /
m_count
> ShrinkThreshold) {
159
int count = source.
m_count
;
279
CopyTo(array, arrayIndex,
m_count
);
308
if (
m_count
== 0) {
327
get { return
m_count
; }
376
T[] array = new T[
m_count
];
503
if (
m_count
== 0) {
539
if (
m_count
== 0) {
566
if (
m_count
== 0) {
612
if (
m_count
== 0) {
621
if (
m_count
> otherAsSet.Count) {
631
return (result.uniqueCount ==
m_count
&& result.unfoundCount >= 0);
659
if (
m_count
== 0) {
665
if (
m_count
>= otherAsSet.Count) {
675
return (result.uniqueCount ==
m_count
&& result.unfoundCount > 0);
709
if (otherAsSet.Count >
m_count
) {
745
if (
m_count
== 0) {
759
if (otherAsSet.Count >=
m_count
) {
768
return (result.uniqueCount <
m_count
&& result.unfoundCount == 0);
783
if (
m_count
== 0) {
812
if (
m_count
!= otherAsSet.Count) {
824
if (
m_count
== 0 && otherAsCollection.Count > 0) {
829
return (result.uniqueCount ==
m_count
&& result.unfoundCount == 0);
833
public void CopyTo(T[] array) { CopyTo(array, 0,
m_count
); }
916
Debug.Assert(
m_count
>= 0, "m_count is negative");
918
if (
m_count
== 0) {
929
int newSize = HashHelpers.GetPrime(
m_count
);
996
int newSize = HashHelpers.ExpandPrime(
m_count
);
997
if (newSize <=
m_count
) {
1389
if (
m_count
== 0) {
1402
Debug.Assert((m_buckets != null) && (
m_count
> 0), "m_buckets was null but count greater than 0");