Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddAttrXmlName()

XmlName System.Xml.XmlDocument.AddAttrXmlName ( string prefix,
string localName,
string namespaceURI,
IXmlSchemaInfo schemaInfo )
inlinepackage

Definition at line 493 of file XmlDocument.cs.

494 {
495 XmlName xmlName = AddXmlName(prefix, localName, namespaceURI, schemaInfo);
496 if (!IsLoading)
497 {
498 object prefix2 = xmlName.Prefix;
499 object namespaceURI2 = xmlName.NamespaceURI;
500 object localName2 = xmlName.LocalName;
501 if ((prefix2 == strXmlns || (xmlName.Prefix.Length == 0 && localName2 == strXmlns)) ^ (namespaceURI2 == strReservedXmlns))
502 {
504 }
505 }
506 return xmlName;
507 }
static string Xdom_Attr_Reserved_XmlNS
Definition SR.cs:1348
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7
XmlName AddXmlName(string prefix, string localName, string namespaceURI, IXmlSchemaInfo schemaInfo)

References System.Xml.XmlDocument.AddXmlName(), System.Xml.ArgumentException, System.Xml.Dictionary, System.SR.Format(), System.Xml.XmlDocument.IsLoading, System.prefix, System.Xml.XmlDocument.strReservedXmlns, System.Xml.XmlDocument.strXmlns, and System.SR.Xdom_Attr_Reserved_XmlNS.

Referenced by System.Xml.XmlDocument.CreateAttribute(), System.Xml.XmlLoader.LoadAttributeNode(), System.Xml.XmlLoader.LoadDefaultAttribute(), System.Xml.XmlLoader.LoadDocumentType(), System.Xml.DocumentSchemaValidator.ValidateAttributes(), and System.Xml.DocumentSchemaValidator.ValidateNode().