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

◆ Close()

void System.Xml.XmlCanonicalWriter.Close ( )
inline

Definition at line 220 of file XmlCanonicalWriter.cs.

221 {
222 if (_writer != null)
223 {
224 _writer.Close();
225 }
226 if (_elementWriter != null)
227 {
229 }
230 if (_elementStream != null && _elementStream.Length > 512)
231 {
232 _elementStream = null;
233 }
234 _elementBuffer = null;
235 if (_scopes != null && _scopes.Length > 16)
236 {
237 _scopes = null;
238 }
239 if (_attributes != null && _attributes.Length > 16)
240 {
241 _attributes = null;
242 }
243 if (_xmlnsBuffer != null && _xmlnsBuffer.Length > 1024)
244 {
245 _xmlnsAttributes = null;
246 _xmlnsBuffer = null;
247 }
248 _inclusivePrefixes = null;
249 }

References System.Xml.XmlCanonicalWriter._attributes, System.Xml.XmlCanonicalWriter._elementBuffer, System.Xml.XmlCanonicalWriter._elementStream, System.Xml.XmlCanonicalWriter._elementWriter, System.Xml.XmlCanonicalWriter._inclusivePrefixes, System.Xml.XmlCanonicalWriter._scopes, System.Xml.XmlCanonicalWriter._writer, System.Xml.XmlCanonicalWriter._xmlnsAttributes, System.Xml.XmlCanonicalWriter._xmlnsBuffer, System.Xml.XmlStreamNodeWriter.Close(), and System.IO.MemoryStream.Length.

Referenced by System.Xml.XmlSigningNodeWriter.Close().