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
16 references to Count
System.Collections (13)
System\Collections\Generic\OrderedDictionary.cs (13)
588/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 717/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than <see cref="Count"/>.</exception> 764/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 792/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 811/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 895/// <exception cref="ArgumentOutOfRangeException"><paramref name="capacity"/> is less than <see cref="Count"/>.</exception> 898ThrowIfLessThan(capacity, Count); 1160Count == 0 ? EnumerableHelpers.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() : 1334return Count - 1; 1476public int Count => _dictionary.Count; 1538if (array.Length - index < _dictionary.Count) 1671public int Count => _dictionary.Count; 1847if (array.Length - index < _dictionary.Count)
System.Text.Json (3)
System\Text\Json\Nodes\JsonObject.cs (2)
209if (currentDict.Count != otherDict.Count)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
129public int Count => Dictionary.Count;