3 writes to _inheritedCount
System.Configuration (3)
System\Configuration\ConfigurationElementCollection.cs (3)
407_inheritedCount = Count; // After reset the count is the number of items actually inherited. 540_inheritedCount--; 933_inheritedCount -= inheritedRemoved;
14 references to _inheritedCount
System.Configuration (14)
System\Configuration\ConfigurationElementCollection.cs (14)
539iFoundItem > Count + _removedItemCount - _inheritedCount) { 605index = Count + _removedItemCount - _inheritedCount; // insert before inherited, but after any removed 608if (index > Count + _removedItemCount - _inheritedCount && flagAsReplaced == false) { 616index < _inheritedCount) { 725if (index >= Count - _inheritedCount) { 730if (index < _inheritedCount) { 777_items.Insert(Count + _removedItemCount - _inheritedCount, new Entry(EntryType.Removed, key, null)); 892&& _inheritedCount > 0) { 898RemoveIndex = _inheritedCount; // inherited items are at the top and cannot be removed 900while (Count - _inheritedCount > 0) { 922RemoveIndex < _inheritedCount) || 924(RemoveIndex >= initialCount - _inheritedCount))) { 973if (index >= Count - _inheritedCount) { 979if (index < _inheritedCount) {