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

◆ WriteDocType()

override void System.Xml.HtmlEncodedRawTextWriter.WriteDocType ( string name,
string pubid,
string sysid,
string subset )
inline

Definition at line 36 of file HtmlEncodedRawTextWriter.cs.

37 {
38 if (this.trackTextContent && this.inTextContent)
39 {
40 long num = 0L;
41 base.ChangeTextContentMark(num != 0L);
42 }
43 base.RawText("<!DOCTYPE ");
44 bool flag = name == "HTML";
45 if (pubid != null)
46 {
47 base.RawText(" PUBLIC \"");
48 base.RawText(pubid);
49 if (sysid != null)
50 {
51 return;
52 }
53 }
54 else
55 {
56 if (sysid == null)
57 {
58 int bufPos = this.bufPos;
59 char[] bufChars = this.bufChars;
60 return;
61 }
62 base.RawText(" SYSTEM \"");
63 base.RawText(sysid);
64 }
65 int bufPos2 = this.bufPos;
66 char[] bufChars2 = this.bufChars;
67 if (subset != null)
68 {
69 int num2 = 91;
71 base.RawText(subset);
72 char[] bufChars3 = this.bufChars;
74 }
76 }
class f__AnonymousType0<< Count > j__TPar

References System.Xml.XmlEncodedRawTextWriter.bufChars, System.Xml.XmlEncodedRawTextWriter.bufPos, System.Xml.XmlEncodedRawTextWriter.inTextContent, j__TPar, System.L, System.name, and System.Xml.XmlEncodedRawTextWriter.trackTextContent.