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