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.XmlWellFormedWriter.WriteDocType ( string name,
string pubid,
string sysid,
string subset )
inline

Definition at line 70 of file XmlWellFormedWriter.cs.

71 {
72 if (name != null && name._stringLength != 0)
73 {
74 ConformanceLevel conformanceLevel = this.conformanceLevel;
75 if (!this.dtdWritten)
76 {
77 if (this.conformanceLevel == ConformanceLevel.Auto)
78 {
79 int num = 2;
81 if (num == 0)
82 {
83 }
84 this.stateTable = num;
85 }
86 if (this.checkCharacters)
87 {
88 if (pubid != null)
89 {
90 }
91 if (sysid != null)
92 {
93 }
94 if (subset != null)
95 {
96 }
97 }
99 int num2 = 1;
100 this.dtdWritten = num2 != 0;
101 return;
102 }
103 }
104 else
105 {
106 string @string = Res.GetString("The empty string '' is not a valid name.");
107 string string2 = Res.GetString("DTD is not allowed in XML fragments.");
108 }
109 int num3 = 16;
111 string string3 = Res.GetString("The DTD has already been written out.");
112 string[] array;
113 string string4 = Res.GetString("'{0}', hexadecimal value {1}, is an invalid character.", array);
114 string[] array2;
115 string string5 = Res.GetString("'{0}', hexadecimal value {1}, is an invalid character.", array2);
116 string[] array3;
117 string string6 = Res.GetString("'{0}', hexadecimal value {1}, is an invalid character.", array3);
118 }
class f__AnonymousType0<< Count > j__TPar

References System.array, System.Xml.XmlWellFormedWriter.checkCharacters, System.Xml.XmlWellFormedWriter.conformanceLevel, System.Xml.XmlWellFormedWriter.dtdWritten, System.Xml.Res.GetString(), j__TPar, System.name, and System.Xml.XmlWellFormedWriter.writer.