Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
13 references to Count
System.Collections (10)
System\Collections\Generic\OrderedDictionary.cs (10)
578/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 707/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than <see cref="Count"/>.</exception> 879/// <exception cref="ArgumentOutOfRangeException"><paramref name="capacity"/> is less than <see cref="Count"/>.</exception> 882ThrowIfLessThan(capacity, Count); 1132Count == 0 ? EnumerableHelpers.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() : 1306return Count - 1; 1448public int Count => _dictionary.Count; 1510if (array.Length - index < _dictionary.Count) 1643public int Count => _dictionary.Count; 1819if (array.Length - index < _dictionary.Count)
System.Text.Json (3)
System\Text\Json\Nodes\JsonObject.cs (2)
183if (currentDict.Count != otherDict.Count)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
95public int Count => Dictionary.Count;