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

◆ WriteEndElement() [2/2]

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

Definition at line 121 of file HtmlEncodedRawTextWriter.cs.

122 {
123 if (ns.Length == 0)
124 {
126 {
128 }
129 if ((_currentElementProperties & ElementProperties.EMPTY) == 0)
130 {
131 _bufChars[_bufPos++] = '<';
132 _bufChars[_bufPos++] = '/';
133 RawText(localName);
134 _bufChars[_bufPos++] = '>';
135 }
136 }
137 else
138 {
139 base.WriteEndElement(prefix, localName, ns);
140 }
142 }

References System.Xml.XmlEncodedRawTextWriter._bufChars, System.Xml.XmlEncodedRawTextWriter._bufPos, System.Xml.HtmlEncodedRawTextWriter._currentElementProperties, System.Xml.HtmlEncodedRawTextWriter._elementScope, System.Xml.XmlEncodedRawTextWriter._inTextContent, System.Xml.XmlEncodedRawTextWriter._trackTextContent, System.Xml.XmlEncodedRawTextWriter.ChangeTextContentMark(), System.Xml.Dictionary, System.Xml.ByteStack.Pop(), System.prefix, System.Xml.XmlEncodedRawTextWriter.RawText(), and System.value.