Implemented interface members:
18 references to Count
Microsoft.CodeAnalysis.Collections.Package (18)
ImmutableSegmentedDictionary`2.cs (3)
84public int Count => _dictionary.Count; 86public bool IsEmpty => _dictionary.Count == 0; 90public bool IsDefaultOrEmpty => _dictionary?.Count is null or 0;
ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
56public readonly int Count => ReadOnlyDictionary.Count; 130if (ReadOnlyDictionary.Count != 0)
SegmentedDictionary`2.cs (13)
158if (source.Count == 0) 166Debug.Assert(_entries.Length >= source.Count); 368if (array.Length - index < Count) 388Count == 0 ? GetEmptyEnumerator() : 895if (array.Length - index < Count) 986=> TrimExcess(Count); 997if (capacity < Count) 1323if (array.Length - index < _dictionary.Count) 1337public int Count => _dictionary.Count; 1390if (array.Length - index < _dictionary.Count) 1531if (array.Length - index < _dictionary.Count) 1545public int Count => _dictionary.Count; 1598if (array.Length - index < _dictionary.Count)