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

◆ LookupNamespace() [3/3]

override string System.Xml.XmlBaseReader.LookupNamespace ( string prefix)
inlineinherited

Definition at line 1789 of file XmlBaseReader.cs.

1790 {
1792 if (@namespace != null)
1793 {
1794 return @namespace.Uri.GetString(NameTable);
1795 }
1796 if (prefix == "xmlns")
1797 {
1798 return "http://www.w3.org/2000/xmlns/";
1799 }
1800 return null;
1801 }

References System.Xml.Dictionary, System.Xml.StringHandle.GetString(), System.prefix, and System.Xml.XmlBaseReader.Namespace.Uri.

Referenced by System.Xml.XmlBinaryReader.ReadNode(), and System.Xml.XmlUTF8TextReader.ReadStartElement().