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

◆ WriteComment() [1/2]

override void System.Xml.XmlWellFormedWriter.WriteComment ( string text)
inline

Definition at line 1857 of file XmlWellFormedWriter.cs.

1858 {
1859 try
1860 {
1861 if (text == null)
1862 {
1863 text = string.Empty;
1864 }
1865 AdvanceState(Token.Comment);
1867 }
1868 catch
1869 {
1870 _currentState = State.Error;
1871 throw;
1872 }
1873 }
void WriteComment(string? text)

References System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.text, and System.Xml.XmlWriter.WriteComment().