23 references to Contains
System.Configuration.ConfigurationManager (23)
System\Configuration\ConfigurationElement.cs (22)
339
if (!_lockedAllExceptElementsList.
Contains
(key) || (key == ElementTagName))
346
if (!_lockedAllExceptElementsList.
Contains
(prop.Name) &&
361
(source._lockedAttributesList.
Contains
(propInfo.Name) ||
362
source._lockedAttributesList.
Contains
(LockAll))) ||
364
!source._lockedAllExceptAttributesList.
Contains
(propInfo.Name))
632
(_lockedAttributesList.
Contains
(key) ||
633
_lockedAttributesList.
Contains
(LockAll))) ||
635
!_lockedAllExceptAttributesList.
Contains
(key))
1377
if (largeCollection.
Contains
(key) || (key == ElementTagName))
1406
if (((_lockedElementsList != null) && (_lockedElementsList.
Contains
(reader.Name) ||
1407
(_lockedElementsList.
Contains
(LockAll) && (reader.Name != ElementTagName)))) ||
1409
!_lockedAllExceptElementsList.
Contains
(reader.Name)) ||
1422
(_lockedAttributesList.
Contains
(propertyName) || _lockedAttributesList.
Contains
(LockAll))) ||
1424
!_lockedAllExceptAttributesList.
Contains
(propertyName))
1591
if (!_lockedAttributesList.
Contains
(key))
1637
if (!_lockedElementsList.
Contains
(key))
1678
if (!_lockedAllExceptElementsList.
Contains
(key) || (key == ElementTagName))
1682
if (!(string.IsNullOrEmpty(prop.Name) || _lockedAllExceptElementsList.
Contains
(prop.Name)) &&
1888
if (!parentLockList.
Contains
(lockedAttributeName) ||
1898
if (!parentLockList.
Contains
(lockedAttributeName))
1915
if (!parentLockList.
Contains
(lockedAttributeName) ||
System\Configuration\ConfigurationLockCollection.cs (1)
336
if (!
Contains
(attribTrim)) Add(attribTrim);