3 writes to _inheritedCount
System.Configuration.ConfigurationManager (3)
System\Configuration\ConfigurationElementCollection.cs (3)
480_inheritedCount = Count; // After reset the count is the number of items actually inherited. 576_inheritedCount--; 953_inheritedCount -= inheritedRemoved;
14 references to _inheritedCount
System.Configuration.ConfigurationManager (14)
System\Configuration\ConfigurationElementCollection.cs (14)
575(iFoundItem > Count + _removedItemCount - _inheritedCount)) 640index = Count + _removedItemCount - _inheritedCount; 644if ((index > Count + _removedItemCount - _inheritedCount) && (flagAsReplaced == false)) 651(index < _inheritedCount)) 761if (index >= Count - _inheritedCount) 769if (index < _inheritedCount) 821Items.Insert(Count + _removedItemCount - _inheritedCount, 916&& (_inheritedCount > 0)) 922removeIndex = _inheritedCount; // inherited items are at the top and cannot be removed 923while (Count - _inheritedCount > 0) Items.RemoveAt(removeIndex); 945(removeIndex < _inheritedCount)) || 947(removeIndex >= initialCount - _inheritedCount))) 992(index >= Count - _inheritedCount)) 995if ((CollectionType == ConfigurationElementCollectionType.BasicMap) && (index < _inheritedCount))