Base:
property
LocalName
System.Xml.XmlNode.LocalName
163 references to LocalName
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
510if ((content.LocalName == ColorsContentName) &&
src\Framework\MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (1)
48&& String.CompareOrdinal(_glyphsNode.LocalName, _glyphRunName) == 0
System.Data (6)
fx\src\data\System\Data\DataSet.cs (1)
1706this.DataSetName = xdoc.DocumentElement.LocalName;
fx\src\data\System\Data\XDRSchema.cs (2)
80"Invalid node type " + node.LocalName); 129"Invalid node type " + node.LocalName);
fx\src\data\System\NewXml\DataSetMappper.cs (2)
88DataTable t = SearchMatchingTableSchema( elem.LocalName, elem.NamespaceURI ); 135object tid = GetIdentity( rowElem.LocalName, rowElem.NamespaceURI );
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1365if ( e.LocalName == col.EncodedColumnName && e.NamespaceURI == col.Namespace ) {
System.IdentityModel (35)
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (11)
67if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.TrustedIssuers)) 69throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7002, customConfigElement.LocalName, ConfigurationStrings.TrustedIssuers)); 77if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.Add)) 87String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName), 97else if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.Remove)) 104String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName), 112else if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.Clear)) 118throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7002, customConfigElement.LocalName, childElement.LocalName));
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (1)
118writer.WriteLine(" Token Element: ({0}, {1})", this.tokenXml.LocalName, this.tokenXml.NamespaceURI);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
94if (configElement.LocalName != ConfigurationStrings.SamlSecurityTokenRequirement)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
99if (configElement.LocalName != ConfigurationStrings.SamlSecurityTokenRequirement)
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (13)
56if (element.LocalName != ConfigurationStrings.SamlSecurityTokenRequirement) 58throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7000, ConfigurationStrings.SamlSecurityTokenRequirement, element.LocalName)); 105throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7011, attribute.LocalName, element.LocalName))); 141throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7011, attribute.LocalName, element.LocalName))); 162throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7011, attribute.LocalName, element.LocalName))); 167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7004, attribute.LocalName, element.LocalName))); 175if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.NameClaimType)) 179throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value)); 183else if (StringComparer.Ordinal.Equals(childElement.LocalName, ConfigurationStrings.RoleClaimType)) 187throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value)); 193throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7002, childElement.LocalName, ConfigurationStrings.SamlSecurityTokenRequirement));
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
107if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.SessionTokenRequirement)) 136throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7004, attribute.LocalName, customConfigElement.LocalName)));
System\IdentityModel\Tokens\WSTrust.cs (1)
170if (element.LocalName != name || element.NamespaceURI != ns)
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (5)
109if (!StringComparer.Ordinal.Equals(customConfigElement.LocalName, ConfigurationStrings.X509SecurityTokenHandlerRequirement)) 149throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7011, attribute.LocalName, customConfigElement.LocalName))); 180throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7011, attribute.LocalName, customConfigElement.LocalName))); 199throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7011, attribute.LocalName, customConfigElement.LocalName))); 204throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID7004, attribute.LocalName, customConfigElement.LocalName)));
System.Runtime.Serialization (9)
System\Runtime\Serialization\SchemaImporter.cs (9)
1259if (typeElement != null && typeElement.NamespaceURI == surrogateDataAnnotationName.Namespace && typeElement.LocalName == surrogateDataAnnotationName.Name) 1288if (typeElement.LocalName == Globals.GenericTypeLocalName) 1316if (argumentElement.LocalName != Globals.GenericParameterLocalName || 1318throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationHasInvalidElement, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name))); 1324throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationHasInvalidAttributeValue, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name, nestedLevelAttribute.Value, nestedLevelAttribute.LocalName, Globals.TypeOfInt.Name))); 1327throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationForNestedLevelMustBeIncreasing, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name))); 1338throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationHasInvalidAttributeValue, typeElement.LocalName, typeElement.NamespaceURI, type.Name, typeNestedLevelsAttribute.Value, typeNestedLevelsAttribute.LocalName, Globals.TypeOfInt.Name))); 1430ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.InvalidAnnotationExpectingText, xmlElement.LocalName, xmlElement.NamespaceURI, child.LocalName, child.NamespaceURI)); 1449if (annotationElement != null && annotationElement.LocalName == annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System.ServiceModel (89)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (2)
88if (assertion.LocalName == HttpUseCookieName 129if (assertion.LocalName == IncludeContextName
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
812switch (assertion.LocalName) 852string transferMode = assertion.LocalName;
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (2)
223if (assertion.LocalName == MessageEncodingPolicyConstants.BinaryEncodingName) 231if (assertion.LocalName == MessageEncodingPolicyConstants.MtomEncodingName)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (6)
441if (element == null || !PeerRequestSecurityToken.CompareWithNS(element.LocalName, element.NamespaceURI, PeerTokenElementName, PeerNamespace)) 446if (authElement == null || !PeerRequestSecurityToken.CompareWithNS(authElement.LocalName, authElement.NamespaceURI, PeerAuthenticatorElementName, PeerNamespace)) 536if (element == null || !PeerRequestSecurityToken.CompareWithNS(element.LocalName, element.NamespaceURI, PeerRequestSecurityToken.RequestedSecurityTokenElementName, TrustFeb2005Strings.Namespace)) 627if (PeerRequestSecurityToken.CompareWithNS(child.LocalName, child.NamespaceURI, StatusString, TrustFeb2005Strings.Namespace)) 632if (PeerRequestSecurityToken.CompareWithNS(desc.LocalName, desc.NamespaceURI, CodeString, TrustFeb2005Strings.Namespace)) 640else if (PeerRequestSecurityToken.CompareWithNS(child.LocalName, child.NamespaceURI, TrustFeb2005Strings.RequestedSecurityToken, TrustFeb2005Strings.Namespace))
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (4)
400node.LocalName, 473element.LocalName, 500element.LocalName, 520node.LocalName)));
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (3)
57&& element.LocalName == TransactionPolicyStrings.OleTxTransactionsLocal) 73&& element.LocalName == TransactionPolicyStrings.WsatTransactionsLocal) 89&& element.LocalName == TransactionPolicyStrings.WsatTransactionsLocal)
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (1)
122XmlElement top = document.CreateElement(e.Prefix, e.LocalName, e.NamespaceURI);
System\ServiceModel\Description\MetadataSection.cs (2)
96SR.GetString(SR.SFxBadMetadataMustBePolicy, MetadataStrings.WSPolicy.NamespaceUri, MetadataStrings.WSPolicy.Elements.Policy, policy.NamespaceURI, policy.LocalName)); 142&& policy.LocalName == MetadataStrings.WSPolicy.Elements.Policy;
System\ServiceModel\Description\PolicyAssertionCollection.cs (3)
45if (item.LocalName == localName && item.NamespaceURI == namespaceUri) 71if (item.LocalName == localName && item.NamespaceURI == namespaceUri) 105if (item.LocalName == localName && item.NamespaceURI == namespaceUri)
System\ServiceModel\Description\PolicyConversionContext.cs (1)
46if ((assertion.LocalName == localName) &&
System\ServiceModel\Description\PolicyReader.cs (4)
253else if (currentElement.LocalName == MetadataStrings.WSPolicy.Elements.Policy) 255else if (currentElement.LocalName == MetadataStrings.WSPolicy.Elements.All) 257else if (currentElement.LocalName == MetadataStrings.WSPolicy.Elements.ExactlyOne) 259else if (currentElement.LocalName == MetadataStrings.WSPolicy.Elements.PolicyReference)
System\ServiceModel\Description\SoapHelper.cs (1)
638return (element != null && element.LocalName == "fault" && (element.NamespaceURI == WsdlNS.Soap12Binding.Namespace || element.NamespaceURI == WsdlNS.SoapBinding.Namespace));
System\ServiceModel\Description\WsdlHelper.cs (1)
215if (element != null && element.LocalName == elementName)
System\ServiceModel\Description\WsdlImporter.cs (3)
815return new XmlQualifiedName(element.LocalName, element.NamespaceURI); 1165if (element.LocalName == MetadataStrings.Addressing10.MetadataPolicy.NonAnonymousResponses) 1169else if (element.LocalName == MetadataStrings.Addressing10.MetadataPolicy.AnonymousResponses)
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (1)
569xml.WriteElementString("IssuedTokenElementName", token.TokenXml.LocalName);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
209headers.Add(new XmlElementMessageHeader(this, messageVersion, xmlElement.LocalName, xmlElement.NamespaceURI, mustUnderstand, actor, relay, xmlElement));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
99MessageHeaderDescription matchingHeaderDescription = headerDescriptionTable.Get(element.LocalName, element.NamespaceURI); 101message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 113message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 125message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (3)
270if (claimRequirement.LocalName == "ClaimType" && claimRequirement.NamespaceURI == wsidNamespace) 886if ((requestParameter.LocalName == ((System.ServiceModel.Security.WSTrust.Driver)standardsManager.TrustDriver).DriverDictionary.Claims.Value) && 892if ((requestParameter.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) &&
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
439if (element.LocalName == localName && 678if (this.StandardsManager.TrustDriver.IsAppliesTo(this.requestProperties[i].LocalName, this.requestProperties[i].NamespaceURI))
System\ServiceModel\Security\WSSecureConversation.cs (1)
354if (element.LocalName == parent.SerializerDictionary.Identifier.Value && element.NamespaceURI == parent.SerializerDictionary.Namespace.Value)
System\ServiceModel\Security\WSSecureConversationDec2005.cs (1)
93return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value &&
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (1)
85return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value &&
System\ServiceModel\Security\WSSecurityPolicy.cs (5)
135return assertion.NamespaceURI == this.WsspNamespaceUri && assertion.LocalName == name; 140return assertion.NamespaceURI == MsspNamespace && assertion.LocalName == name; 149if (e.LocalName == name && e.NamespaceURI == this.WsspNamespaceUri) 169if (e.LocalName == name && e.NamespaceURI == this.WsspNamespaceUri) 229if (e.LocalName == name && e.NamespaceURI == MsspNamespace)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
477throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.CannotReadToken, element.LocalName, element.NamespaceURI, element.GetAttribute(SecurityJan2004Strings.ValueType, null)))); 526throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing, idAttributeLocalName, issuedTokenXml.LocalName))); 540return element.LocalName == LocalName.Value && element.NamespaceURI == NamespaceUri.Value && valueTypeUri == this.ValueTypeUri;
System\ServiceModel\Security\WSTrust.cs (24)
103return element.LocalName == LocalName.Value && (element.NamespaceURI == NamespaceUri.Value || element.NamespaceURI == this.otherDictionary.Namespace.Value) && valueTypeUri == this.ValueTypeUri; 265if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 267else if (child.LocalName == DriverDictionary.RequestType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 269else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 361if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 363else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 365else if (child.LocalName == DriverDictionary.RequestedProofToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 368if (proofXml.LocalName == DriverDictionary.ComputedKey.Value && proofXml.NamespaceURI == DriverDictionary.Namespace.Value) 378else if (child.LocalName == DriverDictionary.Lifetime.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 431if (elem.LocalName == DriverDictionary.AppliesTo.Value && elem.NamespaceURI == Namespaces.WSPolicy) 522if (element.LocalName == DriverDictionary.Authenticator.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 525if (combinedHashElement.LocalName == DriverDictionary.CombinedHash.Value && combinedHashElement.NamespaceURI == DriverDictionary.Namespace.Value) 564if (elem.LocalName == DriverDictionary.BinaryExchange.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 600if (element.LocalName == DriverDictionary.Entropy.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 624if (elem.LocalName == DriverDictionary.RequestedSecurityToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 632else if (elem.LocalName == DriverDictionary.RequestedProofToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 901if (child.LocalName == DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 905else if (child.LocalName == DriverDictionary.RequestedTokenReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 1278if (element.LocalName == this.DriverDictionary.KeySize.Value 1338return element.LocalName == this.DriverDictionary.KeyType.Value 1357return element.LocalName == this.DriverDictionary.KeyType.Value 1376if (element.LocalName == this.DriverDictionary.TokenType.Value 1520if (element.LocalName == this.DriverDictionary.Claims.Value 1654if (element.LocalName != name || element.NamespaceURI != ns)
System\ServiceModel\Security\WSTrustDec2005.cs (2)
89if (element.LocalName == this.DriverDictionary.KeyType.Value 155return ((element.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) &&
System\ServiceModel\Security\WSTrustFeb2005.cs (6)
134if (child.LocalName == this.DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 138else if (child.LocalName == this.DriverDictionary.RequestedAttachedReference.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 142else if (child.LocalName == this.DriverDictionary.RequestedUnattachedReference.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 177if (child.LocalName == this.DriverDictionary.RequestedTokenClosed.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 196if (child.LocalName == this.DriverDictionary.RenewTarget.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 198else if (child.LocalName == this.DriverDictionary.CloseTarget.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value)
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
292if (assertion.LocalName.Equals(UdpConstants.RetransmissionEnabled, StringComparison.Ordinal))
System.Web (1)
UI\WebControls\AdRotator.cs (1)
600doc.DocumentElement.LocalName == XmlDocumentTag) {
System.Web.Extensions (4)
Compilation\WCFModel\SchemaMerger.cs (3)
486if (!String.Equals(element1.LocalName, element2.LocalName, StringComparison.Ordinal) || 670return ((XmlElement)value).LocalName;
Script\Services\WebServiceTypeData.cs (1)
281if (annotationElement != null && annotationElement.LocalName == annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace) {
System.Web.Services (5)
System\Web\Services\Description\ProtocolImporter.cs (1)
476name = element.LocalName;
System\Web\Services\Description\ServiceDescription.cs (3)
473if (element.LocalName == Soap.Element.Claim && element.NamespaceURI == Soap.ConformanceClaim) { 1499if (element != null && element.LocalName == name && element.NamespaceURI == ns) { 1515if (element != null && element.LocalName == name && element.NamespaceURI == ns) {
System\Web\Services\Protocols\SoapHeader.cs (1)
489return ((SoapUnknownHeader)header).Element.LocalName;
System.Xml (11)
System\Xml\Dom\DocumentSchemaValidator.cs (4)
330validator.ValidateElement(elementNode.LocalName, elementNode.NamespaceURI, schemaInfo, xsiType, xsiNil, null, null); 343elementNode.XmlName = document.AddXmlName(elementNode.Prefix, elementNode.LocalName, elementNode.NamespaceURI, schemaInfo); 536currentElement.XmlName = document.AddXmlName(currentElement.Prefix, currentElement.LocalName, currentElement.NamespaceURI, schemaInfo); 632validator.ValidateElement(elementNode.LocalName, elementNode.NamespaceURI, newSchemaInfo, xsiType, xsiNil, null, null);
System\Xml\Dom\XmlDocument.cs (1)
568XmlQualifiedName qname = new XmlQualifiedName( elem.LocalName, schInfo.SchemaType == SchemaType.DTD ? elem.Prefix : elem.NamespaceURI );
System\Xml\Dom\XmlElement.cs (4)
52XmlElement element = doc.CreateElement( Prefix, LocalName, NamespaceURI ); 89set { name = name.OwnerDocument.AddXmlName( value, LocalName, NamespaceURI, SchemaInfo ); } 427w.WriteStartElement(Prefix, LocalName, NamespaceURI); 528internal override string XPLocalName { get { return LocalName; } }
System\Xml\Dom\XmlLoader.cs (2)
122element.XmlName = doc.AddXmlName(element.Prefix, element.LocalName, element.NamespaceURI, schemaInfo); 137element.XmlName = doc.AddXmlName(element.Prefix, element.LocalName, element.NamespaceURI, schemaInfo);