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

◆ OnDefaultNamespaceDecl()

void System.Xml.XmlTextReaderImpl.OnDefaultNamespaceDecl ( NodeData attr)
inlineprivate

Definition at line 4816 of file XmlTextReaderImpl.cs.

4817 {
4819 {
4820 string text = _nameTable.Add(attr.StringValue);
4821 attr.ns = _nameTable.Add("http://www.w3.org/2000/xmlns/");
4823 {
4825 }
4827 AddNamespace(string.Empty, text, attr);
4828 }
4829 }
string Add(char[] array, int offset, int length)
void AddNamespace(string prefix, string uri, NodeData attr)

References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._nameTable, System.Xml.XmlTextReaderImpl._supportNamespaces, System.Xml.XmlNameTable.Add(), System.Xml.XmlTextReaderImpl.AddNamespace(), System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.PushXmlContext(), System.text, and System.Xml.XmlTextReaderImpl.NodeData.xmlContextPushed.

Referenced by System.Xml.XmlTextReaderImpl.AddDefaultAttributeInternal(), System.Xml.XmlTextReaderImpl.ParseAttributes(), and System.Xml.XmlTextReaderImpl.ParseAttributesAsync().