3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
469_count++; 542_count = 0; 791entries[--_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); 558int count = _count; 597if ((uint)index >= (uint)_count) 726if ((uint)index > (uint)_count) 773int count = _count; 801if ((uint)index >= (uint)_count) 820if ((uint)index >= (uint)_count) 897public void TrimExcess() => TrimExcess(_count); 1088Debug.Assert(newSize >= _count, "The requested size must accomodate all of the current elements."); 1102int count = _count; 1214if (array.Length - arrayIndex < _count) 1219for (int i = 0; i < _count; i++) 1301if (array.Length - index < _count) 1441if (_index < dictionary._count) 1512int count = dictionary._count; 1701int count = dictionary._count; 1754int count = _dictionary._count; 1800int count = _dictionary._count;