3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
468_count++; 541_count = 0; 790entries[--_count] = default;
26 references to _count
System.Collections (26)
System\Collections\Generic\OrderedDictionary.cs (26)
242public int Count => _count; 406Debug.Assert(0 <= keyIndex && keyIndex < _count); 432index = _count; 434Debug.Assert(index <= _count); 447if (entries.Length == _count) 456for (i = _count - 1; i >= index; --i) 474Debug.Assert(0 <= keyIndex && keyIndex < _count); 535if (_buckets is not null && _count != 0) 540Array.Clear(_entries, 0, _count); 557int count = _count; 596if ((uint)index >= (uint)_count) 725if ((uint)index > (uint)_count) 772int count = _count; 800if ((uint)index >= (uint)_count) 819if ((uint)index >= (uint)_count) 896public void TrimExcess() => TrimExcess(_count); 1087Debug.Assert(newSize >= _count, "The requested size must accomodate all of the current elements."); 1101int count = _count; 1213if (array.Length - arrayIndex < _count) 1218for (int i = 0; i < _count; i++) 1300if (array.Length - index < _count) 1440if (_index < dictionary._count) 1511int count = dictionary._count; 1700int count = dictionary._count; 1753int count = _dictionary._count; 1799int count = _dictionary._count;