Implemented interface members:
36 references to Count
Microsoft.CodeAnalysis.CodeStyle (36)
ImmutableSegmentedHashSet`1.cs (2)
29
public int Count => _set.
Count
;
34
public bool IsEmpty => _set.
Count
== 0;
ImmutableSegmentedHashSet`1+Builder.cs (2)
53
public int Count => ReadOnlySet.
Count
;
85
if (ReadOnlySet.
Count
!= 0)
SegmentedHashSet`1.cs (30)
137
if (source.
Count
== 0)
146
var threshold = HashHelpers.ExpandPrime(source.
Count
+ 1);
159
Initialize(source.
Count
);
172
Debug.Assert(
Count
== source.
Count
);
433
if (
Count
== 0 || other == this)
469
if (
Count
== 0)
498
if (
Count
== 0)
538
if (
Count
== 0 || other == this)
548
if (
Count
> otherAsSet.
Count
)
559
return uniqueCount ==
Count
&& unfoundCount >= 0;
587
if (
Count
== 0)
595
if (
Count
>= otherAsSet.
Count
)
607
return uniqueCount ==
Count
&& unfoundCount > 0;
638
otherAsSet.
Count
>
Count
)
658
if (
Count
== 0 || other == this)
675
if (otherAsSet.
Count
>=
Count
)
687
return uniqueCount <
Count
&& unfoundCount == 0;
700
if (
Count
== 0)
743
if (
Count
!= otherAsSet.
Count
)
755
if (
Count
== 0 &&
763
return uniqueCount ==
Count
&& unfoundCount == 0;
767
public void CopyTo(T[] array) => CopyTo(array, 0,
Count
);
772
public void CopyTo(T[] array, int arrayIndex) => CopyTo(array, arrayIndex,
Count
);
912
var capacity =
Count
;
SegmentedHashSetEqualityComparer`1.cs (2)
38
return x.
Count
== y.
Count
&& y.IsSubsetOfHashSetWithSameComparer(x);