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

◆ WriteCData() [1/2]

override void System.Xml.XmlBaseWriter.WriteCData ( string text)
inlineinherited

Definition at line 1165 of file XmlBaseWriter.cs.

1166 {
1167 if (IsClosed)
1168 {
1169 ThrowClosed();
1170 }
1171 if (_writeState == WriteState.Attribute)
1172 {
1174 }
1175 if (text == null)
1176 {
1177 text = string.Empty;
1178 }
1179 if (text.Length > 0)
1180 {
1181 StartContent();
1182 FlushBase64();
1184 EndContent();
1185 }
1186 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string XmlInvalidWriteState
Definition SR.cs:450
Definition SR.cs:7
void WriteCData(string text)

References System.Xml.XmlBaseWriter._writer, System.Xml.XmlBaseWriter._writeState, System.Xml.XmlBaseWriter.EndContent(), System.Xml.XmlBaseWriter.FlushBase64(), System.SR.Format(), System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.StartContent(), System.text, System.Xml.XmlBaseWriter.ThrowClosed(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.Xml.XmlNodeWriter.WriteCData(), and System.SR.XmlInvalidWriteState.