System\Configuration\ConfigurationElementCollection.cs (47)
122public int Count => Items.Count - _removedItemCount;
130foreach (Entry entry in Items)
143foreach (Entry entry in Items)
153foreach (Entry entry in Items)
169foreach (Entry entry in Items)
186foreach (Entry entry in Items)
197return new Enumerator(Items, this);
206return new Enumerator(Items, this);
218foreach (Entry thisEntry in Items)
221foreach (Entry compareEntry in compareToElem.Items)
240foreach (Entry thisEntry in Items)
301foreach (Entry entry in parentCollection.Items)
306foreach (Entry entry in sourceCollection.Items)
313(Entry)parentCollection.Items[parentCollection.RealIndexOf(entry.Value)];
357foreach (Entry entry in parentCollection.Items)
371foreach (Entry entry in sourceCollection.Items)
395foreach (Entry entry in sourceCollection.Items)
405foreach (Entry parentEntry in parentCollection.Items)
463foreach (Entry entry in parentCollection.Items)
514for (int index = 0; index < Items.Count; index++)
516Entry entry = (Entry)Items[index];
574Items.RemoveAt(iFoundItem);
589foreach (Entry entry in Items)
602foreach (Entry entry in Items)
663if (index > Items.Count)
665Items.Insert(index, new Entry(entryType, key, element));
669Items.Add(new Entry(entryType, key, element));
694foreach (Entry entryfound in Items)
705foreach (Entry entry in Items)
736foreach (Entry entry in Items)
779Items.RemoveAt(index);
824Items.Insert(Count + _removedItemCount - _inheritedCount,
828Items.Add(new Entry(EntryType.Removed, key, null));
835foreach (Entry entry in Items)
843foreach (Entry entry in Items)
856foreach (Entry entryfound in Items)
876foreach (Entry entry in Items)
891foreach (Entry entryfound in Items)
926while (Count - _inheritedCount > 0) Items.RemoveAt(removeIndex);
937for (int checkIndex = 0; checkIndex < Items.Count; checkIndex++)
939Entry entry = (Entry)Items[checkIndex];
944for (int removeIndex = Items.Count - 1; removeIndex >= 0; removeIndex--)
946Entry entry = (Entry)Items[removeIndex];
954Items.RemoveAt(removeIndex);
967foreach (Entry entryfound in Items)
1001Items.RemoveAt(index);
1053foreach (Entry entry in Items)