Base:
property
Prefix
System.Xml.XmlNode.Prefix
5 writes to Prefix
System.Data.Common (5)
System\Data\DataSet.cs (3)
1733attr.Prefix = reader.Prefix; 2163attr.Prefix = reader.Prefix; 2709attr.Prefix = reader.Prefix;
System\Data\DataTable.cs (2)
5861attr.Prefix = reader.Prefix; 6130attr.Prefix = reader.Prefix;
45 references to Prefix
Microsoft.Maui.Controls.SourceGen (1)
CodeBehindGenerator.cs (1)
172 if (attr.Prefix != "xmlns")
System.Data.Common (4)
System\Data\XMLSchema.cs (1)
2819attrib.Prefix == Keywords.MSD &&
System\Xml\DataSetMappper.cs (3)
117Debug.Assert(a.Prefix != null && a.Prefix.Length == 0); 120if (a.Prefix == "xmlns")
System.Private.Xml (31)
System\Xml\Dom\DocumentSchemaValidator.cs (6)
189if (attr.Prefix.Length == 0) 294attr.XmlName = _document.AddAttrXmlName(attr.Prefix, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo); 354_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.LocalName, attr.Value); 401attr.XmlName = _document.AddAttrXmlName(attr.Prefix, attr.LocalName, attr.NamespaceURI, _attributeSchemaInfo); 424attr.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)
443throw new XmlException(SR.Xml_DupAttributeName, attr.Prefix.Length == 0 ? attr.LocalName : $"{attr.Prefix}:{attr.LocalName}");
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1822string prefix = attribute.Prefix.Length == 0 ? string.Empty : attribute.LocalName;
System\Xml\Dom\XmlAttribute.cs (3)
56XmlAttribute attr = doc.CreateAttribute(Prefix, LocalName, NamespaceURI); 149return ownerElement.Attributes.PrepareParentInElementIdAttrMap(Prefix, LocalName); 348w.WriteStartAttribute(Prefix, LocalName, NamespaceURI);
System\Xml\Dom\XmlLoader.cs (8)
263attr.XmlName = _doc.AddAttrXmlName(attr.Prefix, attr.LocalName, attr.NamespaceURI, schemaInfo); 308attr.XmlName = _doc.AddAttrXmlName(attr.Prefix, attr.LocalName, attr.NamespaceURI, schemaInfo); 701if (attr.Prefix == _doc.strXmlns && !prefixes.Contains(attr.LocalName)) 707else if (!bHasDefXmlnsAttr && attr.Prefix.Length == 0 && attr.LocalName == _doc.strXmlns) 713else if (spaceMode == XmlSpace.None && attr.Prefix == _doc.strXml && attr.LocalName == _doc.strSpace) 721else if (lang == null && attr.Prefix == _doc.strXml && attr.LocalName == _doc.strLang) 813if (attr.Prefix == _doc!.strXmlns) 830else if (attr.Prefix.Length == 0 && attr.LocalName == _doc.strXmlns)
System\Xml\Dom\XmlNode.cs (6)
1102if (attr.Prefix.Length == 0) 1116if (Ref.Equal(attr.Prefix, doc.strXmlns)) 1123else if (Ref.Equal(attr.Prefix, pref)) 1185if (attr.Prefix.Length == 0) 1195else if (Ref.Equal(attr.Prefix, doc.strXmlns)) 1204return attr.Prefix; // found prefix:attr
System\Xml\Dom\XmlNodeReader.cs (4)
954if (a.Prefix.Length == 0 && a.LocalName == "xmlns") 961else if (a.Prefix == "xmlns") 1004if (a.LocalName == "xmlns" && a.Prefix.Length == 0) 1011else if (a.Prefix == "xmlns")
System\Xml\Dom\XmlUnspecifiedAttribute.cs (1)
26XmlUnspecifiedAttribute attr = (XmlUnspecifiedAttribute)doc.CreateDefaultAttribute(Prefix, LocalName, NamespaceURI);
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\ExcAncestralNamespaceContextManager.cs (1)
63string prefix = ((XmlAttribute)attr).Prefix;
System\Security\Cryptography\Xml\Utils.cs (7)
127return a.Prefix.Length == 0 ? string.Empty : a.LocalName; 544if (attrib.Prefix == "xmlns" || attrib.Prefix == "xml") 551if (!Utils.IsCommittedNamespace(ancestorElement, attrib.Prefix, attrib.NamespaceURI)) 554if (!Utils.IsRedundantNamespace(ancestorElement, attrib.Prefix, attrib.NamespaceURI)) 556string name = ((attrib.Prefix.Length > 0) ? "xmlns:" + attrib.Prefix : "xmlns");
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
61if (attrib.Prefix == "xmlns")