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

◆ WriteCommentAsync() [1/2]

override Task System.Xml.XmlCharCheckingWriter.WriteCommentAsync ( string text)
inline

Definition at line 599 of file XmlCharCheckingWriter.cs.

600 {
601 if (text != null)
602 {
603 if (_checkValues)
604 {
606 text = InterleaveInvalidChars(text, '-', '-');
607 }
609 {
611 }
612 }
614 }
string InterleaveInvalidChars(string text, char invChar1, char invChar2)
virtual Task WriteCommentAsync(string? text)
Definition XmlWriter.cs:643

References System.Xml.XmlCharCheckingWriter._checkValues, System.Xml.XmlCharCheckingWriter._replaceNewLines, System.Xml.XmlCharCheckingWriter.CheckCharacters(), System.Xml.XmlCharCheckingWriter.InterleaveInvalidChars(), System.Xml.XmlCharCheckingWriter.ReplaceNewLines(), System.text, System.Xml.XmlWriter.WriteCommentAsync(), and System.Xml.XmlWrappingWriter.writer.