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