3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
463_count++; 543_count = 0; 792_count--;
27 references to _count
System.Collections (27)
System\Collections\Generic\OrderedDictionary.cs (27)
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) 541Array.Clear(_entries, 0, _count); 559int count = _count; 598if ((uint)index >= (uint)_count) 727if ((uint)index > (uint)_count) 774int count = _count; 797entries[_count] = default; 808if ((uint)index >= (uint)_count) 827if ((uint)index >= (uint)_count) 904public void TrimExcess() => TrimExcess(_count); 1095Debug.Assert(newSize >= _count, "The requested size must accommodate all of the current elements."); 1109int count = _count; 1221if (array.Length - arrayIndex < _count) 1226for (int i = 0; i < _count; i++) 1309if (array.Length - index < _count) 1449if (_index < dictionary._count) 1520int count = dictionary._count; 1709int count = dictionary._count; 1762int count = _dictionary._count; 1808int count = _dictionary._count;