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