Base:
property
LocalName
System.Xml.XmlNode.LocalName
50 references to LocalName
IOperationGenerator (3)
IOperationClassWriter.cs (3)
244WriteLine($"/// <{el.LocalName}>"); 258if (el.LocalName == "remarks" && writeReservedRemark) 264WriteLine($"/// </{el.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);
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)
1862DataSetName = 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)
1526if (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")