3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
463_count++; 536_count = 0; 785entries[--_count] = default;
26 references to _count
System.Collections (26)
System\Collections\Generic\OrderedDictionary.cs (26)
237public int Count => _count; 401Debug.Assert(0 <= keyIndex && keyIndex < _count); 427index = _count; 429Debug.Assert(index <= _count); 442if (entries.Length == _count) 451for (i = _count - 1; i >= index; --i) 469Debug.Assert(0 <= keyIndex && keyIndex < _count); 530if (_buckets is not null && _count != 0) 535Array.Clear(_entries, 0, _count); 552int count = _count; 591if ((uint)index >= (uint)_count) 720if ((uint)index > (uint)_count) 767int count = _count; 795if ((uint)index >= (uint)_count) 814if ((uint)index >= (uint)_count) 891public void TrimExcess() => TrimExcess(_count); 1082Debug.Assert(newSize >= _count, "The requested size must accomodate all of the current elements."); 1096int count = _count; 1208if (array.Length - arrayIndex < _count) 1213for (int i = 0; i < _count; i++) 1295if (array.Length - index < _count) 1435if (_index < dictionary._count) 1506int count = dictionary._count; 1695int count = dictionary._count; 1748int count = _dictionary._count; 1794int count = _dictionary._count;