Implemented interface members:
38 references to Count
Microsoft.CodeAnalysis (38)
Collections\CachingDictionary.cs (1)
222var fullyPopulatedMap = CreateDictionaryForFullyPopulatedMap(capacity: allKeys.Count);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (2)
80public int Count => _set.Count; 85public bool IsEmpty => _set.Count == 0;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (2)
54public readonly int Count => ReadOnlySet.Count; 86if (ReadOnlySet.Count != 0)
src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
39return x.Count == y.Count && y.IsSubsetOfHashSetWithSameComparer(x);
src\Dependencies\Collections\SegmentedHashSet`1.cs (31)
152if (source.Count == 0) 161var threshold = HashHelpers.ExpandPrime(source.Count + 1); 174Initialize(source.Count); 187Debug.Assert(Count == source.Count); 367Count == 0 ? GetEmptyEnumerator() : 438if (Count == 0 || other == this) 474if (Count == 0) 503if (Count == 0) 543if (Count == 0 || other == this) 553if (Count > otherAsSet.Count) 564return uniqueCount == Count && unfoundCount >= 0; 592if (Count == 0) 600if (Count >= otherAsSet.Count) 612return uniqueCount == Count && unfoundCount > 0; 643otherAsSet.Count > Count) 671if (Count == 0 || other == this) 688if (otherAsSet.Count >= Count) 700return uniqueCount < Count && unfoundCount == 0; 713if (Count == 0) 756if (Count != otherAsSet.Count) 768if (Count == 0 && 776return uniqueCount == Count && unfoundCount == 0; 780public void CopyTo(T[] array) => CopyTo(array, 0, Count); 785public void CopyTo(T[] array, int arrayIndex) => CopyTo(array, arrayIndex, Count); 952var capacity = Count;