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

◆ WriteCommentAsync() [1/2]

override async Task System.Xml.XmlWellFormedWriter.WriteCommentAsync ( string text)
inline

Definition at line 3727 of file XmlWellFormedWriter.cs.

3728 {
3729 _ = 1;
3730 try
3731 {
3732 if (text == null)
3733 {
3734 text = string.Empty;
3735 }
3738 }
3739 catch
3740 {
3741 _currentState = State.Error;
3742 throw;
3743 }
3744 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task WriteCommentAsync(string? text)
Definition XmlWriter.cs:643

References System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceStateAsync(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.text, and System.Xml.XmlWriter.WriteCommentAsync().