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