23 references to Contains
System.Configuration.ConfigurationManager (23)
System\Configuration\ConfigurationElement.cs (22)
339if (!_lockedAllExceptElementsList.Contains(key) || (key == ElementTagName)) 346if (!_lockedAllExceptElementsList.Contains(prop.Name) && 361(source._lockedAttributesList.Contains(propInfo.Name) || 362source._lockedAttributesList.Contains(LockAll))) || 364!source._lockedAllExceptAttributesList.Contains(propInfo.Name)) 632(_lockedAttributesList.Contains(key) || 633_lockedAttributesList.Contains(LockAll))) || 635!_lockedAllExceptAttributesList.Contains(key)) 1377if (largeCollection.Contains(key) || (key == ElementTagName)) 1406if (((_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)) 1591if (!_lockedAttributesList.Contains(key)) 1637if (!_lockedElementsList.Contains(key)) 1678if (!_lockedAllExceptElementsList.Contains(key) || (key == ElementTagName)) 1682if (!(string.IsNullOrEmpty(prop.Name) || _lockedAllExceptElementsList.Contains(prop.Name)) && 1888if (!parentLockList.Contains(lockedAttributeName) || 1898if (!parentLockList.Contains(lockedAttributeName)) 1915if (!parentLockList.Contains(lockedAttributeName) ||
System\Configuration\ConfigurationLockCollection.cs (1)
336if (!Contains(attribTrim)) Add(attribTrim);