terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ WriteXmlDeclaration() [2/2]

override void System.Xml.XmlEncodedRawTextWriter.WriteXmlDeclaration ( XmlStandalone standalone)
inlinepackagevirtual

Reimplemented from System.Xml.XmlRawWriter.

Definition at line 104 of file XmlEncodedRawTextWriter.cs.

105 {
106 if (this.omitXmlDeclaration || this.autoXmlDeclaration)
107 {
108 return;
109 }
110 if (this.trackTextContent && this.inTextContent)
111 {
112 long num = 0L;
113 this.ChangeTextContentMark(num != 0L);
114 }
115 this.RawText("<?xml version=\"");
116 this.RawText("1.0");
117 if (this.encoding != null)
118 {
119 this.RawText("\" encoding=\"");
121 }
122 if (standalone != XmlStandalone.Omit)
123 {
124 this.RawText("\" standalone=\"");
125 this.RawText("\" standalone=\"");
126 }
127 this.RawText("\"?>");
128 }

References System.Xml.XmlEncodedRawTextWriter.autoXmlDeclaration, System.Xml.XmlEncodedRawTextWriter.ChangeTextContentMark(), System.Xml.XmlEncodedRawTextWriter.encoding, System.Xml.XmlEncodedRawTextWriter.inTextContent, System.L, System.Xml.XmlEncodedRawTextWriter.omitXmlDeclaration, System.Xml.XmlEncodedRawTextWriter.RawText(), and System.Xml.XmlEncodedRawTextWriter.trackTextContent.