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

◆ XmlEncodedRawTextWriter() [3/3]

System.Xml.XmlEncodedRawTextWriter.XmlEncodedRawTextWriter ( Stream stream,
XmlWriterSettings settings )
inline

Definition at line 67 of file XmlEncodedRawTextWriter.cs.

68 {
70 Encoding encoding = settings.encoding;
72 if (settings.useAsync)
73 {
74 int num = 1;
75 this.bufLen = num;
76 return;
77 }
78 int num2 = this.bufLen;
79 int num3 = 1;
80 this.trackTextContent = num3 != 0;
81 Encoding encoding2 = settings.encoding;
82 if (encoding2 != null)
83 {
85 throw new InvalidCastException();
86 }
87 CharEntityEncoderFallback charEntityEncoderFallback = this.charEntityFallback;
91 if (stream == null && this.encoding.dataItem != null)
92 {
93 Stream stream2 = this.stream;
94 }
95 if (settings.autoXmlDecl)
96 {
97 XmlStandalone xmlStandalone = this.standalone;
98 int num4 = 1;
99 this.autoXmlDeclaration = num4 != 0;
100 }
101 }
class f__AnonymousType0<< Count > j__TPar
CodePageDataItem dataItem
Definition Encoding.cs:1017

References System.Xml.XmlWriterSettings.autoXmlDecl, System.Xml.XmlEncodedRawTextWriter.bufLen, System.Xml.XmlEncodedRawTextWriter.charEntityFallback, System.Text.Encoding.dataItem, System.Xml.XmlEncodedRawTextWriter.encoding, System.Xml.XmlWriterSettings.encoding, j__TPar, System.Xml.XmlEncodedRawTextWriter.standalone, System.Xml.XmlEncodedRawTextWriter.stream, and System.Xml.XmlWriterSettings.useAsync.