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
))
643
index = Count + _removedItemCount -
_inheritedCount
;
647
if ((index > Count + _removedItemCount -
_inheritedCount
) && (flagAsReplaced == false))
654
(index <
_inheritedCount
))
764
if (index >= Count -
_inheritedCount
)
772
if (index <
_inheritedCount
)
824
Items.Insert(Count + _removedItemCount -
_inheritedCount
,
919
&& (
_inheritedCount
> 0))
925
removeIndex =
_inheritedCount
; // inherited items are at the top and cannot be removed
926
while (Count -
_inheritedCount
> 0) Items.RemoveAt(removeIndex);
948
(removeIndex <
_inheritedCount
)) ||
950
(removeIndex >= initialCount -
_inheritedCount
)))
995
(index >= Count -
_inheritedCount
))
998
if ((CollectionType == ConfigurationElementCollectionType.BasicMap) && (index <
_inheritedCount
))