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)
539
iFoundItem > Count + _removedItemCount -
_inheritedCount
) {
605
index = Count + _removedItemCount -
_inheritedCount
; // insert before inherited, but after any removed
608
if (index > Count + _removedItemCount -
_inheritedCount
&& flagAsReplaced == false) {
616
index <
_inheritedCount
) {
725
if (index >= Count -
_inheritedCount
) {
730
if (index <
_inheritedCount
) {
777
_items.Insert(Count + _removedItemCount -
_inheritedCount
, new Entry(EntryType.Removed, key, null));
892
&&
_inheritedCount
> 0) {
898
RemoveIndex =
_inheritedCount
; // inherited items are at the top and cannot be removed
900
while (Count -
_inheritedCount
> 0) {
922
RemoveIndex <
_inheritedCount
) ||
924
(RemoveIndex >= initialCount -
_inheritedCount
))) {
973
if (index >= Count -
_inheritedCount
) {
979
if (index <
_inheritedCount
) {