Base:
property
LocalName
System.Xml.XmlNode.LocalName
92 references to LocalName
Microsoft.Build (2)
Construction\Solution\ProjectInSolution.cs (1)
325if (mainProjectElement?.LocalName == "Project")
Evaluation\ProjectParser.cs (1)
137ProjectErrorUtilities.VerifyThrowInvalidProject(element.LocalName == XMakeElements.project, element.Location, "UnrecognizedElement", element.Name);
Microsoft.Build.Engine (3)
Engine\Project.cs (2)
2039ProjectErrorUtilities.VerifyThrowInvalidProject(mainProjectElement.LocalName != XMakeElements.visualStudioProject, 2043ProjectErrorUtilities.VerifyThrowInvalidProject(this.mainProjectElement.LocalName == XMakeElements.project,
Shared\ProjectInSolution.cs (1)
256if (mainProjectElement?.LocalName == "Project")
PresentationFramework (2)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
491if ((content.LocalName == ColorsContentName) &&
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (1)
42&& string.Equals(_glyphsNode.LocalName, _glyphRunName, StringComparison.Ordinal)
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
50(root.LocalName != PrintSchemaTags.Framework.PrintTicketRoot)) 55root.LocalName));
System.Data.Common (6)
System\Data\DataSet.cs (1)
1841DataSetName = xdoc.DocumentElement!.LocalName;
System\Data\XDRSchema.cs (2)
78"Invalid node type " + node.LocalName); 133Debug.Assert(FEqualIdentity(node, Keywords.XDR_ELEMENTTYPE, Keywords.XDRNS), $"Invalid node type {node.LocalName}");
System\Xml\DataSetMappper.cs (2)
91DataTable t = SearchMatchingTableSchema(elem.LocalName, elem.NamespaceURI); 155object tid = GetIdentity(rowElem.LocalName, rowElem.NamespaceURI);
System\Xml\XmlDataDocument.cs (1)
1543if (e.LocalName == col.EncodedColumnName && e.NamespaceURI == col.Namespace)
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\SchemaImporter.cs (9)
1252if (typeElement != null && typeElement.NamespaceURI == surrogateDataAnnotationName.Namespace && typeElement.LocalName == surrogateDataAnnotationName.Name) 1275if (typeElement.LocalName == Globals.GenericTypeLocalName) 1300if (argumentElement.LocalName != Globals.GenericParameterLocalName || 1302throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidElement, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name)); 1308throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidAttributeValue, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name, nestedLevelAttribute.Value, nestedLevelAttribute.LocalName, Globals.TypeOfInt.Name)); 1311throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationForNestedLevelMustBeIncreasing, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name)); 1323throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidAttributeValue, typeElement.LocalName, typeElement.NamespaceURI, type.Name, typeNestedLevelsAttribute.Value, typeNestedLevelsAttribute.LocalName, Globals.TypeOfInt.Name)); 1418ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.Format(SR.InvalidAnnotationExpectingText, xmlElement.LocalName, xmlElement.NamespaceURI, child.LocalName, child.NamespaceURI)); 1436if (markup[i] is XmlElement annotationElement && annotationElement.LocalName == annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System.Private.Xml (11)
System\Xml\Dom\DocumentSchemaValidator.cs (4)
358_validator!.ValidateElement(elementNode.LocalName, elementNode.NamespaceURI, _schemaInfo, xsiType, xsiNil, null, null); 374elementNode.XmlName = _document.AddXmlName(elementNode.Prefix, elementNode.LocalName, elementNode.NamespaceURI, _schemaInfo); 592currentElement.XmlName = _document.AddXmlName(currentElement.Prefix, currentElement.LocalName, currentElement.NamespaceURI, _schemaInfo); 707_validator!.ValidateElement(elementNode.LocalName, elementNode.NamespaceURI, newSchemaInfo, xsiType, xsiNil, null, null);
System\Xml\Dom\XmlDocument.cs (1)
698XmlQualifiedName qname = new XmlQualifiedName(elem.LocalName, schInfo.SchemaType == SchemaType.DTD ? elem.Prefix : elem.NamespaceURI);
System\Xml\Dom\XmlElement.cs (4)
58XmlElement element = doc.CreateElement(Prefix, LocalName, NamespaceURI); 106set { _name = _name.OwnerDocument.AddXmlName(value, LocalName, NamespaceURI, SchemaInfo); } 510w.WriteStartElement(Prefix, LocalName, NamespaceURI); 634internal override string XPLocalName { get { return LocalName; } }
System\Xml\Dom\XmlLoader.cs (2)
137element.XmlName = _doc.AddXmlName(element.Prefix, element.LocalName, element.NamespaceURI, schemaInfo); 155element.XmlName = _doc!.AddXmlName(element.Prefix, element.LocalName, element.NamespaceURI, schemaInfo);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (1)
390if (annotationElement != null && annotationElement.LocalName == annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System.Security.Cryptography.Xml (14)
System\Security\Cryptography\Xml\CipherReference.cs (1)
78ReferenceType = value.LocalName;
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
114ReferenceType = value.LocalName;
System\Security\Cryptography\Xml\EncryptionProperty.cs (3)
26if (elementProperty.LocalName != "EncryptionProperty" || elementProperty.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl) 51if (value.LocalName != "EncryptionProperty" || value.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl) 89if (value.LocalName != "EncryptionProperty" || value.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
System\Security\Cryptography\Xml\KeyInfo.cs (2)
82string kicString = elem.NamespaceURI + " " + elem.LocalName; 96kicString += "/" + elem2.LocalName;
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
116if (value.LocalName != KeyValueElementName
System\Security\Cryptography\Xml\Signature.cs (1)
143if (!signatureElement.LocalName.Equals("Signature"))
System\Security\Cryptography\Xml\SignedInfo.cs (1)
214if (!signedInfoElement.LocalName.Equals("SignedInfo"))
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
99if (elem.LocalName == "Except" && elem.NamespaceURI == Consts.XmlDecryptionTransformNamespaceUrl) 233if (encryptedDataElement != null && encryptedDataElement.LocalName == "EncryptedData" &&
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (1)
55if (e.LocalName.Equals("InclusiveNamespaces")
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
48if (elem.LocalName == "XPath")
System.ServiceModel.Primitives (39)
System\IdentityModel\Security\WSTrust.cs (1)
162if (element.LocalName != name || element.NamespaceURI != ns)
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (1)
103writer.WriteLine(" Token Element: ({0}, {1})", TokenXml.LocalName, TokenXml.NamespaceURI);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
214headers.Add(new XmlElementMessageHeader(this, messageVersion, xmlElement.LocalName, xmlElement.NamespaceURI, mustUnderstand, actor, relay, xmlElement));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
101MessageHeaderDescription matchingHeaderDescription = headerDescriptionTable.Get(element.LocalName, element.NamespaceURI); 104message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 119message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI, 131message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
System\ServiceModel\Security\WSSecureConversation.cs (1)
337if (element.LocalName == Parent.SerializerDictionary.Identifier.Value && element.NamespaceURI == Parent.SerializerDictionary.Namespace.Value)
System\ServiceModel\Security\WSSecureConversationDec2005.cs (1)
77return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value &&
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (1)
62return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value &&
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
423throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadToken, element.LocalName, element.NamespaceURI, element.GetAttribute(SecurityJan2004Strings.ValueType, null)))); 470throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.RequiredAttributeMissing, idAttributeLocalName, issuedTokenXml.LocalName))); 484return element.LocalName == LocalName.Value && element.NamespaceURI == NamespaceUri.Value && valueTypeUri == ValueTypeUri;
System\ServiceModel\Security\WSTrust.cs (19)
84return element.LocalName == LocalName.Value && (element.NamespaceURI == NamespaceUri.Value || element.NamespaceURI == _otherDictionary.Namespace.Value) && valueTypeUri == ValueTypeUri; 245if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 249else if (child.LocalName == DriverDictionary.RequestType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 253else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 347if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 351else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 355else if (child.LocalName == DriverDictionary.RequestedProofToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 358if (proofXml.LocalName == DriverDictionary.ComputedKey.Value && proofXml.NamespaceURI == DriverDictionary.Namespace.Value) 368else if (child.LocalName == DriverDictionary.Lifetime.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 452if (element.LocalName == DriverDictionary.Authenticator.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 455if (combinedHashElement.LocalName == DriverDictionary.CombinedHash.Value && combinedHashElement.NamespaceURI == DriverDictionary.Namespace.Value) 498if (elem.LocalName == DriverDictionary.BinaryExchange.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 538if (element.LocalName == DriverDictionary.Entropy.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 565if (elem.LocalName == DriverDictionary.RequestedSecurityToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 573else if (elem.LocalName == DriverDictionary.RequestedProofToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 817if (child.LocalName == DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 821else if (child.LocalName == DriverDictionary.RequestedTokenReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 1208return element.LocalName == DriverDictionary.KeyType.Value 1229return element.LocalName == DriverDictionary.KeyType.Value
System\ServiceModel\Security\WSTrustDec2005.cs (1)
46return ((element.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) &&
System\ServiceModel\Security\WSTrustFeb2005.cs (6)
105if (child.LocalName == DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 109else if (child.LocalName == DriverDictionary.RequestedAttachedReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 113else if (child.LocalName == DriverDictionary.RequestedUnattachedReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 147if (child.LocalName == DriverDictionary.RequestedTokenClosed.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 166if (child.LocalName == DriverDictionary.RenewTarget.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 170else if (child.LocalName == DriverDictionary.CloseTarget.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
System.Web.Services.Description (3)
System\Web\Services\Description\ServiceDescription.cs (3)
392if (element.LocalName == Soap.Element.Claim && element.NamespaceURI == Soap.ConformanceClaim) 1178if (element != null && element.LocalName == name && element.NamespaceURI == ns) 1194if (element != null && element.LocalName == name && element.NamespaceURI == ns)