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
17 references to Count
System.Collections (14)
System\Collections\Generic\OrderedDictionary.cs (13)
595
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="
Count
"/>.</exception>
724
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than <see cref="
Count
"/>.</exception>
771
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="
Count
"/>.</exception>
805
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="
Count
"/>.</exception>
824
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="
Count
"/>.</exception>
908
/// <exception cref="ArgumentOutOfRangeException"><paramref name="capacity"/> is less than <see cref="
Count
"/>.</exception>
911
ThrowIfLessThan(capacity,
Count
);
1173
Count
== 0 ? EnumerableHelpers.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
1348
return
Count
- 1;
1490
public int Count => _dictionary.
Count
;
1552
if (array.Length - index < _dictionary.
Count
)
1685
public int Count => _dictionary.
Count
;
1861
if (array.Length - index < _dictionary.
Count
)
System\Collections\Generic\OrderedDictionaryDebugView.cs (1)
23
KeyValuePair<TKey, TValue>[] items = new KeyValuePair<TKey, TValue>[_dictionary.
Count
];
System.Text.Json (3)
System\Text\Json\Nodes\JsonObject.cs (2)
218
if (currentDict.
Count
!= otherDict.
Count
)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
122
public int Count => Dictionary.
Count
;