17 references to Add
System.Configuration.ConfigurationManager (17)
System\Configuration\ConfigurationElement.cs (15)
269_lockedAttributesList.Add(key, ConfigurationValueFlags.Inherited); 283_lockedAllExceptAttributesList.Add(key, ConfigurationValueFlags.Default); 308_lockedElementsList.Add(key, ConfigurationValueFlags.Inherited); 310collection?._lockedElementsList.Add(key, ConfigurationValueFlags.Inherited); 340_lockedAllExceptElementsList.Add(key, ConfigurationValueFlags.Default); 556_lockedAttributesList.Add(key, ConfigurationValueFlags.Inherited); 585_lockedElementsList.Add(key, ConfigurationValueFlags.Inherited); 1359localLockedAttributesList.Add(attribToLockTrim, ConfigurationValueFlags.Default); // Mark as local 1592_lockedAttributesList.Add(key, ConfigurationValueFlags.Default); // add the local copy 1595_lockedAttributesList.Add(key, 1617_lockedAllExceptAttributesList.Add(key, ConfigurationValueFlags.Default); 1639_lockedElementsList.Add(key, ConfigurationValueFlags.Default); // add the local copy 1679_lockedAllExceptElementsList.Add(key, ConfigurationValueFlags.Default); // add the local copy 1890tempLockList.Add(lockedAttributeName, ConfigurationValueFlags.Default); 1899tempLockList.Add(lockedAttributeName, ConfigurationValueFlags.Default);
System\Configuration\ConfigurationLockCollection.cs (2)
49Add(key, ConfigurationValueFlags.Inherited); // add the local copy 295foreach (string key in keys) Add(key, ConfigurationValueFlags.Inherited);