3 writes to _inheritedCount
System.Configuration.ConfigurationManager (3)
System\Configuration\ConfigurationElementCollection.cs (3)
483_inheritedCount = Count; // After reset the count is the number of items actually inherited. 579_inheritedCount--; 956_inheritedCount -= inheritedRemoved;
14 references to _inheritedCount
System.Configuration.ConfigurationManager (14)
System\Configuration\ConfigurationElementCollection.cs (14)
578(iFoundItem > Count + _removedItemCount - _inheritedCount)) 643index = Count + _removedItemCount - _inheritedCount; 647if ((index > Count + _removedItemCount - _inheritedCount) && (flagAsReplaced == false)) 654(index < _inheritedCount)) 764if (index >= Count - _inheritedCount) 772if (index < _inheritedCount) 824Items.Insert(Count + _removedItemCount - _inheritedCount, 919&& (_inheritedCount > 0)) 925removeIndex = _inheritedCount; // inherited items are at the top and cannot be removed 926while (Count - _inheritedCount > 0) Items.RemoveAt(removeIndex); 948(removeIndex < _inheritedCount)) || 950(removeIndex >= initialCount - _inheritedCount))) 995(index >= Count - _inheritedCount)) 998if ((CollectionType == ConfigurationElementCollectionType.BasicMap) && (index < _inheritedCount))