Base:
property
Prefix
Microsoft.Xml.XmlNode.Prefix
31 references to Prefix
dotnet-svcutil-lib (31)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (6)
197
if (attr.
Prefix
.Length == 0)
311
attr.XmlName = _document.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo);
376
_nsManager.AddNamespace(attr.
Prefix
.Length == 0 ? string.Empty : attr.LocalName, attr.Value);
421
attr.XmlName = _document.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo);
447
attr.XmlName = _document.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo);
732
_nsManager.AddNamespace(attr.
Prefix
.Length == 0 ? string.Empty : attr.LocalName, attr.Value);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (2)
437
throw new XmlException(ResXml.Xml_DupAttributeName, attr.
Prefix
.Length == 0 ? attr.LocalName : string.Concat(attr.
Prefix
, ":", attr.LocalName));
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (1)
1851
string prefix = attribute.
Prefix
.Length == 0 ? string.Empty : attribute.LocalName;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttribute.cs (3)
56
XmlAttribute attr = doc.CreateAttribute(
Prefix
, LocalName, NamespaceURI);
147
return ownerElement.Attributes.PrepareParentInElementIdAttrMap(
Prefix
, LocalName);
344
w.WriteStartAttribute(
Prefix
, LocalName, NamespaceURI);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (8)
268
attr.XmlName = _doc.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, schemaInfo);
311
attr.XmlName = _doc.AddAttrXmlName(attr.
Prefix
, attr.LocalName, attr.NamespaceURI, schemaInfo);
709
if (attr.
Prefix
== _doc.strXmlns && prefixes.Contains(attr.LocalName) == false)
715
else if (!bHasDefXmlnsAttr && attr.
Prefix
.Length == 0 && attr.LocalName == _doc.strXmlns)
721
else if (spaceMode == XmlSpace.None && attr.
Prefix
== _doc.strXml && attr.LocalName == _doc.strSpace)
729
else if (lang == null && attr.
Prefix
== _doc.strXml && attr.LocalName == _doc.strLang)
818
if (attr.
Prefix
== _doc.strXmlns)
835
else if (attr.
Prefix
.Length == 0 && attr.LocalName == _doc.strXmlns)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (6)
1085
if (attr.
Prefix
.Length == 0)
1099
if (Ref.Equal(attr.
Prefix
, doc.strXmlns))
1106
else if (Ref.Equal(attr.
Prefix
, prefix))
1168
if (attr.
Prefix
.Length == 0)
1178
else if (Ref.Equal(attr.
Prefix
, doc.strXmlns))
1187
return attr.
Prefix
; // found prefix:attr
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (4)
965
if (a.
Prefix
.Length == 0 && a.LocalName == "xmlns")
972
else if (a.
Prefix
== "xmlns")
1013
if (a.LocalName == "xmlns" && a.
Prefix
.Length == 0)
1020
else if (a.
Prefix
== "xmlns")
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlUnspecifiedAttribute.cs (1)
29
XmlUnspecifiedAttribute attr = (XmlUnspecifiedAttribute)doc.CreateDefaultAttribute(
Prefix
, LocalName, NamespaceURI);