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
))
640
index = Count + _removedItemCount -
_inheritedCount
;
644
if ((index > Count + _removedItemCount -
_inheritedCount
) && (flagAsReplaced == false))
651
(index <
_inheritedCount
))
761
if (index >= Count -
_inheritedCount
)
769
if (index <
_inheritedCount
)
821
Items.Insert(Count + _removedItemCount -
_inheritedCount
,
916
&& (
_inheritedCount
> 0))
922
removeIndex =
_inheritedCount
; // inherited items are at the top and cannot be removed
923
while (Count -
_inheritedCount
> 0) Items.RemoveAt(removeIndex);
945
(removeIndex <
_inheritedCount
)) ||
947
(removeIndex >= initialCount -
_inheritedCount
)))
992
(index >= Count -
_inheritedCount
))
995
if ((CollectionType == ConfigurationElementCollectionType.BasicMap) && (index <
_inheritedCount
))