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

◆ WriteStartElement()

override void System.Xml.XmlWellFormedWriter.WriteStartElement ( string prefix,
string localName,
string ns )
inline

Definition at line 121 of file XmlWellFormedWriter.cs.

122 {
123 if (localName != null && localName._stringLength != 0)
124 {
125 this.CheckNCName(localName);
126 if (prefix != null)
127 {
128 int stringLength = prefix._stringLength;
129 this.CheckNCName(prefix);
130 string text;
131 if (ns == null)
132 {
133 text = this.LookupNamespace(prefix);
134 if (text == null)
135 {
136 goto IL_003F;
137 }
138 }
139 if (text._stringLength != 0)
140 {
141 goto IL_0050;
142 }
143 IL_003F:
144 string @string = Res.GetString("Cannot use a prefix with an empty namespace.");
145 }
146 string text2;
147 if (this != null || text2 == null)
148 {
149 }
150 IL_0050:
151 if (this.elemTop == 0 && this.rawWriter != null)
152 {
153 ConformanceLevel conformanceLevel = this.conformanceLevel;
154 }
156 int num = this.elemTop;
157 string namespaceUri = this.elemScopeStack.namespaceUri;
159 int num2 = this.nsTop;
160 int num3 = this.attrCount;
162 return;
163 }
164 string string2 = Res.GetString("The empty string '' is not a valid local name.");
165 }
class f__AnonymousType0<< Count > j__TPar
string LookupNamespace(string prefix)
XmlWellFormedWriter.ElementScope[] elemScopeStack
Dictionary< string, int > attrHashTable

References System.array, System.Xml.XmlWellFormedWriter.attrCount, System.Xml.XmlWellFormedWriter.attrHashTable, System.Xml.XmlWellFormedWriter.CheckNCName(), System.Xml.XmlWellFormedWriter.conformanceLevel, System.dictionary, System.Xml.XmlWellFormedWriter.elemScopeStack, System.Xml.XmlWellFormedWriter.elemTop, System.Xml.Res.GetString(), j__TPar, System.Xml.XmlWellFormedWriter.LookupNamespace(), System.Xml.XmlWellFormedWriter.nsTop, System.Xml.XmlWellFormedWriter.rawWriter, System.text, and System.Xml.XmlWellFormedWriter.writer.