Base:
property
Prefix
System.Xml.XmlNode.Prefix
5 writes to Prefix
System.Data.Common (5)
System\Data\DataSet.cs (3)
1719
attr.
Prefix
= reader.Prefix;
2131
attr.
Prefix
= reader.Prefix;
2670
attr.
Prefix
= reader.Prefix;
System\Data\DataTable.cs (2)
5827
attr.
Prefix
= reader.Prefix;
6095
attr.
Prefix
= reader.Prefix;
44 references to Prefix
System.Data.Common (4)
System\Data\XMLSchema.cs (1)
2806
attrib.
Prefix
== Keywords.MSD &&
System\Xml\DataSetMappper.cs (3)
117
Debug.Assert(a.
Prefix
!= null && a.
Prefix
.Length == 0);
120
if (a.
Prefix
== "xmlns")
System.Private.Xml (31)
System\Xml\Dom\DocumentSchemaValidator.cs (6)
189
if (attr.
Prefix
.Length == 0)
294
attr.XmlName = _document.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo);
354
_nsManager.AddNamespace(attr.
Prefix
.Length == 0 ? string.Empty : attr.LocalName, attr.Value);
401
attr.XmlName = _document.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo);
424
attr.XmlName = _document.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo);
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 (1)
1822
string prefix = attribute.
Prefix
.Length == 0 ? string.Empty : attribute.LocalName;
System\Xml\Dom\XmlAttribute.cs (3)
56
XmlAttribute attr = doc.CreateAttribute(
Prefix
, LocalName, NamespaceURI);
149
return ownerElement.Attributes.PrepareParentInElementIdAttrMap(
Prefix
, LocalName);
348
w.WriteStartAttribute(
Prefix
, LocalName, NamespaceURI);
System\Xml\Dom\XmlLoader.cs (8)
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))
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)
813
if (attr.
Prefix
== _doc!.strXmlns)
830
else if (attr.
Prefix
.Length == 0 && attr.LocalName == _doc.strXmlns)
System\Xml\Dom\XmlNode.cs (6)
1102
if (attr.
Prefix
.Length == 0)
1116
if (Ref.Equal(attr.
Prefix
, doc.strXmlns))
1123
else if (Ref.Equal(attr.
Prefix
, pref))
1185
if (attr.
Prefix
.Length == 0)
1195
else if (Ref.Equal(attr.
Prefix
, doc.strXmlns))
1204
return attr.
Prefix
; // found prefix:attr
System\Xml\Dom\XmlNodeReader.cs (4)
954
if (a.
Prefix
.Length == 0 && a.LocalName == "xmlns")
961
else if (a.
Prefix
== "xmlns")
1004
if (a.LocalName == "xmlns" && a.
Prefix
.Length == 0)
1011
else if (a.
Prefix
== "xmlns")
System\Xml\Dom\XmlUnspecifiedAttribute.cs (1)
26
XmlUnspecifiedAttribute attr = (XmlUnspecifiedAttribute)doc.CreateDefaultAttribute(
Prefix
, LocalName, NamespaceURI);
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\ExcAncestralNamespaceContextManager.cs (1)
63
string prefix = ((XmlAttribute)attr).
Prefix
;
System\Security\Cryptography\Xml\Utils.cs (7)
127
return a.
Prefix
.Length == 0 ? string.Empty : a.LocalName;
544
if (attrib.
Prefix
== "xmlns" || attrib.
Prefix
== "xml")
551
if (!Utils.IsCommittedNamespace(ancestorElement, attrib.
Prefix
, attrib.NamespaceURI))
554
if (!Utils.IsRedundantNamespace(ancestorElement, attrib.
Prefix
, attrib.NamespaceURI))
556
string name = ((attrib.
Prefix
.Length > 0) ? "xmlns:" + attrib.
Prefix
: "xmlns");
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
61
if (attrib.
Prefix
== "xmlns")