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

◆ WriteFullEndElement() [2/2]

override void System.Xml.HtmlEncodedRawTextWriter.WriteFullEndElement ( string prefix,
string localName,
string ns )
inlinepackagevirtualinherited

Reimplemented from System.Xml.XmlRawWriter.

Definition at line 144 of file HtmlEncodedRawTextWriter.cs.

145 {
146 if (ns.Length == 0)
147 {
149 {
151 }
152 if ((_currentElementProperties & ElementProperties.EMPTY) == 0)
153 {
154 _bufChars[_bufPos++] = '<';
155 _bufChars[_bufPos++] = '/';
156 RawText(localName);
157 _bufChars[_bufPos++] = '>';
158 }
159 }
160 else
161 {
162 base.WriteFullEndElement(prefix, localName, ns);
163 }
165 }

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.