Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteEndElement() [2/2]

override void System.Xml.HtmlUtf8RawTextWriter.WriteEndElement ( string prefix,
string localName,
string ns )
inlinepackage

Definition at line 107 of file HtmlUtf8RawTextWriter.cs.

108 {
109 if (ns.Length == 0)
110 {
111 if ((_currentElementProperties & ElementProperties.EMPTY) == 0)
112 {
113 _bufBytes[_bufPos++] = 60;
114 _bufBytes[_bufPos++] = 47;
115 RawText(localName);
116 _bufBytes[_bufPos++] = 62;
117 }
118 }
119 else
120 {
121 base.WriteEndElement(prefix, localName, ns);
122 }
124 }

References System.Xml.XmlUtf8RawTextWriter._bufBytes, System.Xml.XmlUtf8RawTextWriter._bufPos, System.Xml.HtmlUtf8RawTextWriter._currentElementProperties, System.Xml.HtmlUtf8RawTextWriter._elementScope, System.Xml.Dictionary, System.Xml.ByteStack.Pop(), System.prefix, and System.Xml.XmlUtf8RawTextWriter.RawText().