3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
469_count++; 542_count = 0; 787entries[--_count] = default;
26 references to _count
System.Collections (26)
System\Collections\Generic\OrderedDictionary.cs (26)
243public int Count => _count; 407Debug.Assert(0 <= keyIndex && keyIndex < _count); 433index = _count; 435Debug.Assert(index <= _count); 448if (entries.Length == _count) 457for (i = _count - 1; i >= index; --i) 475Debug.Assert(0 <= keyIndex && keyIndex < _count); 536if (_buckets is not null && _count != 0) 541Array.Clear(_entries, 0, _count); 557int count = _count; 596if ((uint)index >= (uint)_count) 725if ((uint)index > (uint)_count) 769int count = _count; 796if ((uint)index >= (uint)_count) 813if ((uint)index >= (uint)_count) 890public void TrimExcess() => TrimExcess(_count); 1079Debug.Assert(newSize >= _count, "The requested size must accomodate all of the current elements."); 1093int count = _count; 1205if (array.Length - arrayIndex < _count) 1210for (int i = 0; i < _count; i++) 1292if (array.Length - index < _count) 1432if (_index < dictionary._count) 1503int count = dictionary._count; 1692int count = dictionary._count; 1745int count = _dictionary._count; 1791int count = _dictionary._count;