4 overrides of CreateAttribute
Microsoft.Build (1)
ElementLocation\XmlDocumentWithLocation.cs (1)
221public override XmlAttribute CreateAttribute(string prefix, string localName, string namespaceURI)
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigXmlDocument.cs (1)
93public override XmlAttribute CreateAttribute(string prefix, string localName, string namespaceUri)
System\Configuration\ErrorInfoXmlDocument.cs (1)
86public override XmlAttribute CreateAttribute(string prefix, string localName, string namespaceUri)
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (1)
69public override XmlAttribute CreateAttribute(string? prefix, string localName, string? namespaceURI)
22 references to CreateAttribute
System.Data.Common (4)
System\Xml\XmlDataDocument.cs (4)
725XmlAttribute attr = CreateAttribute(XSI, Keywords.XSI_NIL, Keywords.XSINS); 1073XmlNodeType.Attribute => CreateAttribute(dp.Prefix, dp.LocalName, dp.NamespaceURI), 1458attr = CreateAttribute(XSI, Keywords.XSI_NIL, Keywords.XSINS); 2610_attrXml = CreateAttribute("xmlns", "xml", XPathNodePointer.StrReservedXmlns);
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
619XmlAttribute xmlAttr = dataNode.OwnerDocument.CreateAttribute(a.prefix, a.localName!, a.ns);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
1074Document.CreateAttribute(null, Globals.XmlnsPrefix, Globals.XmlnsNamespace) : 1075Document.CreateAttribute(Globals.XmlnsPrefix, prefix, Globals.XmlnsNamespace);
System.Private.Xml (14)
System\Xml\Dom\DocumentXmlWriter.cs (3)
207XmlAttribute attr = _document.CreateAttribute(prefix, localName, ns); 251attr = _document.CreateAttribute(prefix, _document.strXmlns, _document.strReservedXmlns); 255attr = _document.CreateAttribute(_document.strXmlns, prefix, _document.strReservedXmlns);
System\Xml\Dom\XmlAttribute.cs (1)
56XmlAttribute attr = doc.CreateAttribute(Prefix, LocalName, NamespaceURI);
System\Xml\Dom\XmlDocument.cs (4)
610return CreateAttribute(prefix, localName, namespaceURI); 913return CreateAttribute(prefix, localName, namespaceURI); 978newNode = CreateAttribute(node.Prefix, node.LocalName, node.NamespaceURI); 1123return CreateAttribute(prefix, name, namespaceURI);
System\Xml\Dom\XmlElement.cs (2)
355attr = OwnerDocument.CreateAttribute(string.Empty, localName, namespaceURI); 387attr = OwnerDocument.CreateAttribute(string.Empty, localName, namespaceURI);
System\Xml\Dom\XmlLoader.cs (1)
259XmlAttribute attr = _doc!.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI);
System\Xml\Schema\Parser.cs (3)
405attr = _dummyDocument.CreateAttribute(string.Empty, _xmlns!, XmlReservedNs.NsXmlNs); 409attr = _dummyDocument.CreateAttribute(_xmlns, prefix, XmlReservedNs.NsXmlNs); 422XmlAttribute attr = _dummyDocument.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\MyXmlDocument.cs (1)
12return CreateAttribute(prefix, localName, namespaceURI);