Base:
property
LocalName
System.Xml.XmlNode.LocalName
50 references to LocalName
IOperationGenerator (3)
IOperationClassWriter.cs (3)
244
WriteLine($"/// <{el.
LocalName
}>");
258
if (el.
LocalName
== "remarks" && writeReservedRemark)
264
WriteLine($"/// </{el.
LocalName
}>");
Microsoft.Build (2)
Construction\Solution\ProjectInSolution.cs (1)
325
if (mainProjectElement?.
LocalName
== "Project")
Evaluation\ProjectParser.cs (1)
137
ProjectErrorUtilities.VerifyThrowInvalidProject(element.
LocalName
== XMakeElements.project, element.Location, "UnrecognizedElement", element.Name);
PresentationFramework (2)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
491
if ((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))
55
root.
LocalName
));
System.Data.Common (6)
System\Data\DataSet.cs (1)
1862
DataSetName = xdoc.DocumentElement!.
LocalName
;
System\Data\XDRSchema.cs (2)
78
"Invalid node type " + node.
LocalName
);
133
Debug.Assert(FEqualIdentity(node, Keywords.XDR_ELEMENTTYPE, Keywords.XDRNS), $"Invalid node type {node.
LocalName
}");
System\Xml\DataSetMappper.cs (2)
91
DataTable t = SearchMatchingTableSchema(elem.
LocalName
, elem.NamespaceURI);
155
object tid = GetIdentity(rowElem.
LocalName
, rowElem.NamespaceURI);
System\Xml\XmlDataDocument.cs (1)
1526
if (e.
LocalName
== col.EncodedColumnName && e.NamespaceURI == col.Namespace)
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\SchemaImporter.cs (9)
1252
if (typeElement != null && typeElement.NamespaceURI == surrogateDataAnnotationName.Namespace && typeElement.
LocalName
== surrogateDataAnnotationName.Name)
1275
if (typeElement.
LocalName
== Globals.GenericTypeLocalName)
1300
if (argumentElement.
LocalName
!= Globals.GenericParameterLocalName ||
1302
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidElement, argumentElement.
LocalName
, argumentElement.NamespaceURI, type.Name));
1308
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidAttributeValue, argumentElement.
LocalName
, argumentElement.NamespaceURI, type.Name, nestedLevelAttribute.Value, nestedLevelAttribute.LocalName, Globals.TypeOfInt.Name));
1311
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationForNestedLevelMustBeIncreasing, argumentElement.
LocalName
, argumentElement.NamespaceURI, type.Name));
1323
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidAttributeValue, typeElement.
LocalName
, typeElement.NamespaceURI, type.Name, typeNestedLevelsAttribute.Value, typeNestedLevelsAttribute.LocalName, Globals.TypeOfInt.Name));
1418
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.Format(SR.InvalidAnnotationExpectingText, xmlElement.
LocalName
, xmlElement.NamespaceURI, child.LocalName, child.NamespaceURI));
1436
if (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);
374
elementNode.XmlName = _document.AddXmlName(elementNode.Prefix, elementNode.
LocalName
, elementNode.NamespaceURI, _schemaInfo);
592
currentElement.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)
698
XmlQualifiedName qname = new XmlQualifiedName(elem.
LocalName
, schInfo.SchemaType == SchemaType.DTD ? elem.Prefix : elem.NamespaceURI);
System\Xml\Dom\XmlElement.cs (4)
58
XmlElement element = doc.CreateElement(Prefix,
LocalName
, NamespaceURI);
106
set { _name = _name.OwnerDocument.AddXmlName(value,
LocalName
, NamespaceURI, SchemaInfo); }
510
w.WriteStartElement(Prefix,
LocalName
, NamespaceURI);
634
internal override string XPLocalName { get { return
LocalName
; } }
System\Xml\Dom\XmlLoader.cs (2)
137
element.XmlName = _doc.AddXmlName(element.Prefix, element.
LocalName
, element.NamespaceURI, schemaInfo);
155
element.XmlName = _doc!.AddXmlName(element.Prefix, element.
LocalName
, element.NamespaceURI, schemaInfo);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (1)
390
if (annotationElement != null && annotationElement.
LocalName
== annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System.Security.Cryptography.Xml (14)
System\Security\Cryptography\Xml\CipherReference.cs (1)
78
ReferenceType = value.
LocalName
;
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
114
ReferenceType = value.
LocalName
;
System\Security\Cryptography\Xml\EncryptionProperty.cs (3)
26
if (elementProperty.
LocalName
!= "EncryptionProperty" || elementProperty.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
51
if (value.
LocalName
!= "EncryptionProperty" || value.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
89
if (value.
LocalName
!= "EncryptionProperty" || value.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
System\Security\Cryptography\Xml\KeyInfo.cs (2)
82
string kicString = elem.NamespaceURI + " " + elem.
LocalName
;
96
kicString += "/" + elem2.
LocalName
;
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
116
if (value.
LocalName
!= KeyValueElementName
System\Security\Cryptography\Xml\Signature.cs (1)
143
if (!signatureElement.
LocalName
.Equals("Signature"))
System\Security\Cryptography\Xml\SignedInfo.cs (1)
214
if (!signedInfoElement.
LocalName
.Equals("SignedInfo"))
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
99
if (elem.
LocalName
== "Except" && elem.NamespaceURI == Consts.XmlDecryptionTransformNamespaceUrl)
233
if (encryptedDataElement != null && encryptedDataElement.
LocalName
== "EncryptedData" &&
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (1)
55
if (e.
LocalName
.Equals("InclusiveNamespaces")
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
48
if (elem.
LocalName
== "XPath")