8 implementations of Count
System.Collections.Immutable (8)
System\Collections\Frozen\DefaultFrozenSet.cs (1)
46
public int
Count
=> _set.Count;
System\Collections\Frozen\Int32\Int32FrozenSet.cs (1)
66
public int
Count
=> _set.Count;
System\Collections\Frozen\SmallFrozenSet.cs (1)
48
public int
Count
=> _set.Count;
System\Collections\Frozen\SmallValueTypeComparableFrozenSet.cs (1)
70
public int
Count
=> _set.Count;
System\Collections\Frozen\SmallValueTypeDefaultComparerFrozenSet.cs (1)
50
public int
Count
=> _set.Count;
System\Collections\Frozen\String\LengthBucketsFrozenSet.cs (1)
114
public int
Count
=> _set.Count;
System\Collections\Frozen\String\OrdinalStringFrozenSet.cs (1)
116
public int
Count
=> _set.Count;
System\Collections\Frozen\ValueTypeDefaultComparerFrozenSet.cs (1)
46
public int
Count
=> _set.Count;
17 references to Count
System.Collections.Immutable (17)
System\Collections\Frozen\FrozenSetInternalBase.cs (17)
33
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
48
return _thisSet.
Count
< otherCount && IsSubsetOfSetWithCompatibleComparer(otherAsSet);
54
return uniqueCount == _thisSet.
Count
&& unfoundCount > 0;
60
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
75
return _thisSet.
Count
> otherCount && ContainsAllElements(otherAsSet);
81
return uniqueCount < _thisSet.
Count
&& unfoundCount == 0;
87
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
92
return _thisSet.
Count
<= otherAsSet.Count && IsSubsetOfSetWithCompatibleComparer(otherAsSet);
97
return uniqueCount == _thisSet.
Count
&& unfoundCount >= 0;
103
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
118
otherCount > _thisSet.
Count
&&
131
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
147
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
152
return _thisSet.
Count
== otherAsSet.Count && ContainsAllElements(otherAsSet);
157
return uniqueCount == _thisSet.
Count
&& unfoundCount == 0;
192
Debug.Assert(_thisSet.
Count
!= 0, "EmptyFrozenSet should have been used.");
195
int intArrayLength = (_thisSet.
Count
/ BitsPerInt32) + 1;