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); 2608_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)
1072Document.CreateAttribute(null, Globals.XmlnsPrefix, Globals.XmlnsNamespace) : 1073Document.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)
606return CreateAttribute(prefix, localName, namespaceURI); 909return CreateAttribute(prefix, localName, namespaceURI); 974newNode = CreateAttribute(node.Prefix, node.LocalName, node.NamespaceURI); 1119return 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)
257XmlAttribute 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);