Implemented interface members:
37 references to Count
Microsoft.CodeAnalysis.Threading.Package (37)
src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
41return x.Count == y.Count && y.IsSubsetOfHashSetWithSameComparer(x);
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (2)
82public int Count => _set.Count; 87public bool IsEmpty => _set.Count == 0;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (2)
56public readonly int Count => ReadOnlySet.Count; 88if (ReadOnlySet.Count != 0)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (31)
154if (source.Count == 0) 163var threshold = HashHelpers.ExpandPrime(source.Count + 1); 176Initialize(source.Count); 189Debug.Assert(Count == source.Count); 369Count == 0 ? GetEmptyEnumerator() : 440if (Count == 0 || other == this) 476if (Count == 0) 505if (Count == 0) 545if (Count == 0 || other == this) 555if (Count > otherAsSet.Count) 566return uniqueCount == Count && unfoundCount >= 0; 594if (Count == 0) 602if (Count >= otherAsSet.Count) 614return uniqueCount == Count && unfoundCount > 0; 645otherAsSet.Count > Count) 673if (Count == 0 || other == this) 690if (otherAsSet.Count >= Count) 702return uniqueCount < Count && unfoundCount == 0; 715if (Count == 0) 758if (Count != otherAsSet.Count) 770if (Count == 0 && 778return uniqueCount == Count && unfoundCount == 0; 782public void CopyTo(T[] array) => CopyTo(array, 0, Count); 787public void CopyTo(T[] array, int arrayIndex) => CopyTo(array, arrayIndex, Count); 954var capacity = Count;