3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
465_count++; 527_count = 0; 772entries[--_count] = default;
24 references to _count
System.Collections (24)
System\Collections\Generic\OrderedDictionary.cs (24)
243public int Count => _count; 429index = _count; 431Debug.Assert(index <= _count); 444if (entries.Length == _count) 453for (i = _count - 1; i >= index; --i) 521if (_buckets is not null && _count != 0) 526Array.Clear(_entries, 0, _count); 542int count = _count; 581if ((uint)index >= (uint)_count) 710if ((uint)index > (uint)_count) 754int count = _count; 781if ((uint)index >= (uint)_count) 798if ((uint)index >= (uint)_count) 875public void TrimExcess() => TrimExcess(_count); 1054Debug.Assert(newSize >= _count, "The requested size must accomodate all of the current elements."); 1068int count = _count; 1180if (array.Length - arrayIndex < _count) 1185for (int i = 0; i < _count; i++) 1267if (array.Length - index < _count) 1407if (_index < dictionary._count) 1478int count = dictionary._count; 1667int count = dictionary._count; 1720int count = _dictionary._count; 1766int count = _dictionary._count;