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);
310
collection?._lockedElementsList.
Add
(key, ConfigurationValueFlags.Inherited);
340
_lockedAllExceptElementsList.
Add
(key, ConfigurationValueFlags.Default);
556
_lockedAttributesList.
Add
(key, ConfigurationValueFlags.Inherited);
585
_lockedElementsList.
Add
(key, ConfigurationValueFlags.Inherited);
1359
localLockedAttributesList.
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
1890
tempLockList.
Add
(lockedAttributeName, ConfigurationValueFlags.Default);
1899
tempLockList.
Add
(lockedAttributeName, ConfigurationValueFlags.Default);
System\Configuration\ConfigurationLockCollection.cs (2)
49
Add
(key, ConfigurationValueFlags.Inherited); // add the local copy
295
foreach (string key in keys)
Add
(key, ConfigurationValueFlags.Inherited);