Base:
property
LocalName
System.Xml.XmlNode.LocalName
85 references to LocalName
Microsoft.Build (4)
Construction\ProjectElement.cs (1)
402
XmlElement.SetAttribute(attribute.
LocalName
, attribute.NamespaceURI, attribute.Value);
Construction\ProjectItemDefinitionElement.cs (1)
127
protected override bool ShouldCloneXmlAttribute(XmlAttribute attribute) => !ProjectMetadataElement.AttributeNameIsValidMetadataName(attribute.
LocalName
);
Construction\ProjectItemElement.cs (1)
506
protected override bool ShouldCloneXmlAttribute(XmlAttribute attribute) => !ProjectMetadataElement.AttributeNameIsValidMetadataName(attribute.
LocalName
);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (1)
150
result.Add(new XmlAttributeLink(attribute.
LocalName
, attribute.Value, attribute.NamespaceURI));
System.Data.Common (17)
System\Data\XDRSchema.cs (1)
469
if (node.Attributes[i].
LocalName
== "Expression")
System\Data\XMLSchema.cs (13)
33
string name = attrs[i].
LocalName
;
269
string name = attrs[i].
LocalName
;
335
string propName = XmlConvert.DecodeName(attrs[i].
LocalName
);
370
if (attrs[i].
LocalName
== "Expression")
387
if (nodeAttributes[i].
LocalName
== ln && nodeAttributes[i].NamespaceURI == Keywords.MSDNS)
406
string propName = XmlConvert.DecodeName(attrs[i].
LocalName
);
2026
if (attrs[i].
LocalName
== Keywords.MSD_ALLOWDBNULL && attrs[i].NamespaceURI == Keywords.MSDNS)
2029
if (attrs[i].
LocalName
== Keywords.MSD_ORDINAL && attrs[i].NamespaceURI == Keywords.MSDNS)
2031
if (attrs[i].
LocalName
== Keywords.MSD_DEFAULTVALUE && attrs[i].NamespaceURI == Keywords.MSDNS)
2139
if (attrs[i].
LocalName
== Keywords.MSD_ALLOWDBNULL && attrs[i].NamespaceURI == Keywords.MSDNS)
2142
if (attrs[i].
LocalName
== Keywords.MSD_ORDINAL && attrs[i].NamespaceURI == Keywords.MSDNS)
2144
if (attrs[i].
LocalName
== Keywords.MSD_DEFAULTVALUE && attrs[i].NamespaceURI == Keywords.MSDNS)
2805
if (attrib.
LocalName
== Keywords.MSD_DATATYPE &&
System\Xml\DataSetMappper.cs (1)
115
if (a.
LocalName
== "xmlns")
System\Xml\XmlDataDocument.cs (1)
1504
if (attr.
LocalName
== col.EncodedColumnName && attr.NamespaceURI == col.Namespace)
System\Xml\XPathNodePointer.cs (1)
1468
if (bFound && attr.NamespaceURI == StrReservedXmlns && !DuplicateNS(be, attr.
LocalName
))
System.Private.Xml (56)
System\Xml\Dom\DocumentSchemaValidator.cs (14)
200
if (!dictionary.ContainsKey(attr.
LocalName
))
202
dictionary.Add(attr.
LocalName
, attr.Value);
291
_validator!.ValidateAttribute(attr.
LocalName
, attr.NamespaceURI, _nodeValueGetter, _attributeSchemaInfo);
294
attr.XmlName = _document.AddAttrXmlName(attr.Prefix, attr.
LocalName
, attr.NamespaceURI, _attributeSchemaInfo);
337
string objectName = attr.
LocalName
;
339
Debug.Assert(_nameTable.Get(attr.
LocalName
) != null);
354
_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.
LocalName
, attr.Value);
398
_validator!.ValidateAttribute(attr.
LocalName
, attr.NamespaceURI, _nodeValueGetter, _attributeSchemaInfo);
401
attr.XmlName = _document.AddAttrXmlName(attr.Prefix, attr.
LocalName
, attr.NamespaceURI, _attributeSchemaInfo);
424
attr.XmlName = _document.AddAttrXmlName(attr.Prefix, attr.
LocalName
, attr.NamespaceURI, _attributeSchemaInfo);
559
XmlQualifiedName attName = new XmlQualifiedName(attributeToValidate.
LocalName
, attributeToValidate.NamespaceURI);
686
string objectName = attr.
LocalName
;
688
Debug.Assert(_nameTable.Get(attr.
LocalName
) != null);
703
_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.
LocalName
, attr.Value);
System\Xml\Dom\DocumentXmlWriter.cs (2)
443
throw new XmlException(SR.Xml_DupAttributeName, attr.Prefix.Length == 0 ? attr.
LocalName
: $"{attr.Prefix}:{attr.
LocalName
}");
System\Xml\Dom\DocumentXPathNavigator.cs (5)
298
if (attribute.
LocalName
== localName
492
while (Ref.Equal(attribute.
LocalName
, _document.strXml))
602
localName = attribute.
LocalName
;
627
while (PathHasDuplicateNamespace(attribute.OwnerElement, _namespaceParent, attribute.
LocalName
));
1822
string prefix = attribute.Prefix.Length == 0 ? string.Empty : attribute.
LocalName
;
System\Xml\Dom\XmlAttribute.cs (4)
56
XmlAttribute attr = doc.CreateAttribute(Prefix,
LocalName
, NamespaceURI);
90
set { _name = _name.OwnerDocument.AddAttrXmlName(value,
LocalName
, NamespaceURI, SchemaInfo); }
149
return ownerElement.Attributes.PrepareParentInElementIdAttrMap(Prefix,
LocalName
);
348
w.WriteStartAttribute(Prefix,
LocalName
, NamespaceURI);
System\Xml\Dom\XmlAttributeCollection.cs (6)
70
&& localName == node.
LocalName
104
&& tmp.
LocalName
== node.
LocalName
193
int offset = FindNodeOffset(refNode.
LocalName
, refNode.NamespaceURI);
222
int offset = FindNodeOffset(refNode.
LocalName
, refNode.NamespaceURI);
373
int ind = FindNodeOffset(attr.
LocalName
, attr.NamespaceURI);
System\Xml\Dom\XmlLoader.cs (12)
263
attr.XmlName = _doc.AddAttrXmlName(attr.Prefix, attr.
LocalName
, attr.NamespaceURI, schemaInfo);
308
attr.XmlName = _doc.AddAttrXmlName(attr.Prefix, attr.
LocalName
, attr.NamespaceURI, schemaInfo);
701
if (attr.Prefix == _doc.strXmlns && !prefixes.Contains(attr.
LocalName
))
704
prefixes.Add(attr.
LocalName
);
705
mgr.AddNamespace(attr.
LocalName
, attr.Value);
707
else if (!bHasDefXmlnsAttr && attr.Prefix.Length == 0 && attr.
LocalName
== _doc.strXmlns)
713
else if (spaceMode == XmlSpace.None && attr.Prefix == _doc.strXml && attr.
LocalName
== _doc.strSpace)
721
else if (lang == null && attr.Prefix == _doc.strXml && attr.
LocalName
== _doc.strLang)
815
string? nsUri = mgr.LookupNamespace(attr.
LocalName
);
827
mgr.AddNamespace(attr.
LocalName
, attr.Value);
830
else if (attr.Prefix.Length == 0 && attr.
LocalName
== _doc.strXmlns)
844
mgr.AddNamespace(attr.
LocalName
, attr.Value);
System\Xml\Dom\XmlNode.cs (4)
1104
if (Ref.Equal(attr.
LocalName
, doc.strXmlns))
1118
if (Ref.Equal(attr.
LocalName
, pref))
1187
if (Ref.Equal(attr.
LocalName
, doc.strXmlns))
1199
return attr.
LocalName
; // found xmlns:prefix="namespaceURI"
System\Xml\Dom\XmlNodeReader.cs (4)
954
if (a.Prefix.Length == 0 && a.
LocalName
== "xmlns")
963
string pref = a.
LocalName
;
1004
if (a.
LocalName
== "xmlns" && a.Prefix.Length == 0)
1013
string localName = a.
LocalName
;
System\Xml\Dom\XmlUnspecifiedAttribute.cs (1)
26
XmlUnspecifiedAttribute attr = (XmlUnspecifiedAttribute)doc.CreateDefaultAttribute(Prefix,
LocalName
, NamespaceURI);
System\Xml\Serialization\ImportContext.cs (1)
442
if (attribute.
LocalName
== Wsdl.ArrayType && attribute.NamespaceURI == Wsdl.Namespace)
System\Xml\Serialization\XmlSchemas.cs (1)
309
if (a.
LocalName
== "IsDataSet" && a.NamespaceURI == "urn:schemas-microsoft-com:xml-msdata")
System\Xml\Serialization\XmlSerializationReader.cs (1)
790
if ((object)attr.
LocalName
== (object)_wsdlArrayTypeID && (object)attr.NamespaceURI == (object)_wsdlNsID)
System\Xml\Serialization\XmlSerializationWriter.cs (1)
930
if (attr.NamespaceURI == Wsdl.Namespace && attr.
LocalName
== Wsdl.ArrayType)
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\C14NAncestralNamespaceContextManager.cs (1)
24
if (((XmlAttribute)a).
LocalName
.Equals(nsPrefix))
System\Security\Cryptography\Xml\Utils.cs (2)
127
return a.Prefix.Length == 0 ? string.Empty : a.
LocalName
;
535
if (bDefNamespaceToAdd && attrib.
LocalName
== "xmlns")
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
63
prefix = attrib.
LocalName
;
System.ServiceModel.Primitives (4)
System\ServiceModel\Security\WSTrust.cs (4)
235
if (attr.
LocalName
== DriverDictionary.Context.Value)
336
if (attr.
LocalName
== DriverDictionary.Context.Value)
769
if (attr.
LocalName
== SecurityJan2004Strings.EncodingType && attr.NamespaceURI.Length == 0)
777
else if (attr.
LocalName
== SecurityJan2004Strings.ValueType && attr.NamespaceURI.Length == 0)