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

◆ WriteProcessingInstruction() [1/2]

override void System.Xml.XmlBaseWriter.WriteProcessingInstruction ( string name,
string text )
inlineinherited

Definition at line 1681 of file XmlBaseWriter.cs.

1682 {
1683 if (IsClosed)
1684 {
1685 ThrowClosed();
1686 }
1687 if (name != "xml")
1688 {
1690 }
1691 if (_writeState != 0)
1692 {
1694 }
1696 }
static string XmlProcessingInstructionNotSupported
Definition SR.cs:488
static string XmlInvalidDeclaration
Definition SR.cs:422
Definition SR.cs:7

References System.Xml.XmlBaseWriter._writer, System.Xml.XmlBaseWriter._writeState, System.Xml.ArgumentException, System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.ThrowClosed(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.Xml.XmlNodeWriter.WriteDeclaration(), System.SR.XmlInvalidDeclaration, and System.SR.XmlProcessingInstructionNotSupported.