107 references to Name
System.Configuration (65)
System\Configuration\ConfigurationElement.cs (49)
233if ((!_lockedAllExceptElementsList.Contains(prop.Name)) && 584if (prop == null || ((collectionKeys != null) && !collectionKeys.Contains(prop.Name))) { 639if (!Object.Equals(Values[configProperty.Name], compareToElem.Values[configProperty.Name])) { 640if (!(((Values[configProperty.Name] == null || 641Values[configProperty.Name] == s_nullPropertyValue) && 642Object.Equals(compareToElem.Values[configProperty.Name], configProperty.DefaultValue)) || 643((compareToElem.Values[configProperty.Name] == null || 644compareToElem.Values[configProperty.Name] == s_nullPropertyValue) && 645Object.Equals(Values[configProperty.Name], configProperty.DefaultValue)))) 665Object o = _values[prop.Name]; 669o = _values[prop.Name]; 688_values.SetValue(prop.Name, childElement, ConfigurationValueFlags.Inherited, null); 916((_lockedAllExceptAttributesList != null && _lockedAllExceptAttributesList.HasParentElements && !_lockedAllExceptAttributesList.DefinedInParent(prop.Name)) || 917(_lockedAttributesList != null && (_lockedAttributesList.DefinedInParent(prop.Name) || _lockedAttributesList.DefinedInParent(LockAll))) || 920throw new ConfigurationErrorsException(SR.GetString(SR.Config_base_attribute_locked, prop.Name)); 930_values[prop.Name] = (value != null) ? value : s_nullPropertyValue; 1019if (prop == null || (collectionKeys != null && !collectionKeys.Contains(prop.Name))) 1039if (prop == null || (collectionKeys != null && !collectionKeys.Contains(prop.Name))) { 1046object value = sourceElement.Values[prop.Name]; 1064value2 = parentElement.Values[prop.Name]; // if so get it's value 1073_values[prop.Name] = value; 1078bool modified = sourceElement.Values.IsModified(prop.Name); 1079bool inherited = sourceElement.Values.IsInherited(prop.Name); 1086_values[prop.Name] = value; 1092_values[prop.Name] = value; 1094_values[prop.Name] = value2; 1162if (prop == null || (collectionKeys != null && !collectionKeys.Contains(prop.Name))) { 1172if (section != null && !section.ShouldSerializePropertyInTargetVersion(prop, prop.Name, _configRecord.TargetFramework, this)) { 1182if ((_lockedAllExceptAttributesList != null && _lockedAllExceptAttributesList.HasParentElements && !_lockedAllExceptAttributesList.DefinedInParent(prop.Name)) || 1183(_lockedAttributesList != null && _lockedAttributesList.DefinedInParent(prop.Name))) { 1185throw new ConfigurationErrorsException(SR.GetString(SR.Config_base_required_attribute_locked, prop.Name)); 1208writer.WriteAttributeString(prop.Name, xmlValue); 1243if (prop.Name != ConfigurationProperty.DefaultCollectionPropertyName) { 1244DataToWrite |= elem.SerializeToXmlElement(writer, prop.Name); 1259throw new ConfigurationErrorsException(SR.GetString(SR.Config_base_element_cannot_have_multiple_child_elements, prop.Name)); 1302if (validProp.Name != LockAttributesKey && 1303validProp.Name != LockAllAttributesExceptKey && 1304validProp.Name != LockElementsKey && 1305validProp.Name != LockAllElementsExceptKey 1313sb.Append(validProp.Name); 1322sb.Append(validProp.Name); 1403throw new ConfigurationErrorsException(SR.GetString(SR.Config_base_required_attribute_lock_attempt, propToLock.Name)); 1630if (!string.IsNullOrEmpty(prop.Name) && 1665if (!(string.IsNullOrEmpty(prop.Name) || _lockedAllExceptElementsList.Contains(prop.Name)) && 1792if (prop.IsRequired && !_values.Contains(prop.Name)) { 1795_values[prop.Name] = OnRequiredPropertyNotFound(prop.Name);
System\Configuration\ConfigurationLockCollection.cs (1)
109throw new ConfigurationErrorsException(SR.GetString(SR.Config_base_required_attribute_lock_attempt, propToLock.Name));
System\Configuration\ConfigurationPropertyCollection.cs (4)
56if (cp.Name == name) { 67if (cp.Name == name) { 75if (Contains(property.Name) != true) { 84if (cp.Name == name) {
System\Configuration\PropertyInformationCollection.cs (3)
28if (prop.Name != ThisElement.ElementTagName) { 29BaseAdd(prop.Name, new PropertyInformation(thisElement, prop.Name));
System\Configuration\ProviderSettings.cs (8)
88if (prop.Name != "name" && prop.Name != "type") 90if (_PropertyNameCollection.Get(prop.Name) == null) 96if ((Values.GetConfigValue(prop.Name).ValueFlags & ConfigurationValueFlags.Locked) == 0) { 97removeList.Add(prop.Name); 175if (prop.Name != "name" && prop.Name != "type") 176_PropertyNameCollection.Add(prop.Name, (string)base[prop]);
System.ServiceModel (7)
System\ServiceModel\Configuration\BindingsSection.cs (3)
32bindingCollectionElements.Add(property.Name, this[property.Name]); 176bindingCollections.Add(this[property.Name]);
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
612if (!this.Properties.Contains(property.Name))
System\ServiceModel\Configuration\StandardEndpointsSection.cs (3)
32endpointCollectionElements.Add(property.Name, this[property.Name]); 91endpointCollections.Add(this[property.Name]);
System.Web (35)
Configuration\CompilationSection.cs (3)
902_propCodeSubDirs.Name), CodeSubDirectories.ElementInformation.Source, CodeSubDirectories.ElementInformation.LineNumber); 907_propBuildProviders.Name), BuildProviders.ElementInformation.Source, BuildProviders.ElementInformation.LineNumber); 913_propFolderLevelBuildProviders.Name), FolderLevelBuildProviders.ElementInformation.Source, FolderLevelBuildProviders.ElementInformation.LineNumber);
Configuration\ConfigUtil.cs (1)
128PropertyInformation propInfo = configSection.ElementInformation.Properties[property.Name];
Configuration\GlobalizationSection.cs (14)
275errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 284if (errorLine > ElementInformation.Properties[_propResponseHeaderEncoding.Name].LineNumber) { 286errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 296if (errorLine > ElementInformation.Properties[_propRequestEncoding.Name].LineNumber) { 298errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 308if (errorLine > ElementInformation.Properties[_propFileEncoding.Name].LineNumber) { 310errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 319if (errorLine > ElementInformation.Properties[_propCulture.Name].LineNumber) { 321errorLine = ElementInformation.Properties[_propCulture.Name].LineNumber; 331if (errorLine > ElementInformation.Properties[_propUICulture.Name].LineNumber) { 333errorLine = ElementInformation.Properties[_propUICulture.Name].LineNumber; 338throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_value_for_globalization_attr, errorProperty.Name), 339ElementInformation.Properties[errorProperty.Name].Source, ElementInformation.Properties[errorProperty.Name].LineNumber);
Configuration\HttpModuleAction.cs (3)
108_modualEntry = new ModulesEntry(Name, Type, _propType.Name, this); 114ElementInformation.Properties[_propType.Name].Source, ElementInformation.Properties[_propType.Name].LineNumber);
Configuration\HttpRuntimeSection.cs (6)
425ElementInformation.Properties[_propMaxRequestLength.Name].Source, 426ElementInformation.Properties[_propMaxRequestLength.Name].LineNumber); 441ElementInformation.Properties[_propRequestLengthDiskThreshold.Name].Source, 442ElementInformation.Properties[_propRequestLengthDiskThreshold.Name].LineNumber); 828ElementInformation.Properties[_propRequestPathInvalidCharacters.Name].Source, 829ElementInformation.Properties[_propRequestPathInvalidCharacters.Name].LineNumber);
Configuration\IdentitySection.cs (2)
145if (source.ElementInformation.Properties[_propUserName.Name].IsModified || 146source.ElementInformation.Properties[_propPassword.Name].IsModified) {
Configuration\PagesSection.cs (3)
256string PropName = _propEnableSessionState.Name; 366ElementInformation.Properties[_propPageBaseType.Name].ValueOrigin != PropertyValueOrigin.Default) { 383ElementInformation.Properties[_propUserControlBaseType.Name].ValueOrigin != PropertyValueOrigin.Default) {
Configuration\SiteMapSection.cs (2)
137ElementInformation.Properties[_propDefaultProvider.Name].Source, 138ElementInformation.Properties[_propDefaultProvider.Name].LineNumber);
Configuration\WebControlsSection.cs (1)
50runtimeHashTable[prop.Name] = base[prop];