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

◆ CreateWrappedWriter()

void System.Xml.XmlAutoDetectWriter.CreateWrappedWriter ( XmlOutputMethod outMethod)
inlineprivate

Definition at line 324 of file XmlAutoDetectWriter.cs.

325 {
326 XmlWriterSettings xmlWriterSettings = this.writerSettings;
328 TriState indent = xmlWriterSettings.indent;
329 int num = 1;
330 xmlWriterSettings.Indent = num != 0;
331 XmlWriterSettings xmlWriterSettings2 = this.writerSettings;
332 int num2 = 1;
335 if (textWriter != null)
336 {
337 if (XmlWriter.Create(textWriter, xmlWriterSettings2) == null)
338 {
339 return;
340 }
341 }
342 else if (XmlWriter.Create(this.strm, xmlWriterSettings2) != null)
343 {
344 }
345 XmlEventCache xmlEventCache = this.eventCache;
346 XmlEventCache xmlEventCache2;
348 if (xmlEventCache.singleText.idxStr == 0)
349 {
351 XmlEventCache.XmlEvent[] pageCurr = xmlEventCache.pageCurr;
353 xmlRawWriter = this.wrapped;
354 }
355 xmlEventCache2.EventsToWriter(xmlRawWriter);
356 OnRemoveWriter onRemoveWriter = this.onRemove;
357 if (onRemoveWriter != null)
358 {
360 IntPtr invoke_impl = onRemoveWriter.invoke_impl;
361 IntPtr method_code = onRemoveWriter.method_code;
362 IntPtr method = onRemoveWriter.method;
363 return;
364 }
365 }
class f__AnonymousType0<< Count > j__TPar

References System.Xml.XmlWriter.Create(), System.Xml.XmlAutoDetectWriter.eventCache, System.Xml.XmlEventCache.EventsToWriter(), System.Xml.XmlWriterSettings.indent, j__TPar, System.Xml.XmlAutoDetectWriter.onRemove, System.Xml.XmlAutoDetectWriter.textWriter, System.Xml.XmlAutoDetectWriter.wrapped, and System.Xml.XmlAutoDetectWriter.writerSettings.

Referenced by System.Xml.XmlAutoDetectWriter.EnsureWrappedWriter().