System.Configuration.ConfigurationLockCollection.RemoveInheritedLocks C# (CSharp) Method

RemoveInheritedLocks() private method

private RemoveInheritedLocks ( ) : void
return void
        internal void RemoveInheritedLocks() {
            StringCollection removeList = new StringCollection();
            foreach (string key in this) {
                if (DefinedInParent(key)) {
                    removeList.Add(key);
                }
            }
            foreach (string key in removeList) {
                internalDictionary.Remove(key);
                internalArraylist.Remove(key);
            }
        }