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