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

◆ WriteStartDocument() [1/2]

override void System.Xml.XmlBaseWriter.WriteStartDocument ( )
inlineinherited

Definition at line 1657 of file XmlBaseWriter.cs.

1658 {
1659 if (IsClosed)
1660 {
1661 ThrowClosed();
1662 }
1663 if (_writeState != 0)
1664 {
1666 }
1667 _writeState = WriteState.Prolog;
1668 _documentState = DocumentState.Document;
1670 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string XmlInvalidWriteState
Definition SR.cs:450
Definition SR.cs:7

References System.Xml.XmlBaseWriter._documentState, System.Xml.XmlBaseWriter._writer, System.Xml.XmlBaseWriter._writeState, System.SR.Format(), System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.ThrowClosed(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.Xml.XmlNodeWriter.WriteDeclaration(), and System.SR.XmlInvalidWriteState.

Referenced by System.Xml.XmlBaseWriter.WriteStartDocument().