Implemented interface members:
19 references to Count
Microsoft.CodeAnalysis.Workspaces (19)
src\Dependencies\Collections\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;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
56
public readonly int Count => ReadOnlyDictionary.
Count
;
130
if (ReadOnlyDictionary.
Count
!= 0)
src\Dependencies\Collections\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
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.WriterReferenceMap.cs (1)
34
if (_valueToIdMap.
Count
> 1024)