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

◆ WriteWhitespaceAsync() [1/2]

override async Task System.Xml.XmlWellFormedWriter.WriteWhitespaceAsync ( string ws)
inline

Definition at line 3867 of file XmlWellFormedWriter.cs.

3868 {
3869 _ = 1;
3870 try
3871 {
3872 if (ws == null)
3873 {
3874 ws = string.Empty;
3875 }
3876 if (!XmlCharType.IsOnlyWhitespace(ws))
3877 {
3879 }
3881 if (SaveAttrValue)
3882 {
3884 }
3885 else
3886 {
3888 }
3889 }
3890 catch
3891 {
3892 _currentState = State.Error;
3893 throw;
3894 }
3895 }
static string Xml_NonWhitespace
Definition SR.cs:310
Definition SR.cs:7
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task WriteWhitespaceAsync(string? ws)
Definition XmlWriter.cs:663

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceStateAsync(), System.Xml.ArgumentException, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.XmlCharType.IsOnlyWhitespace(), System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteWhitespace(), System.Xml.XmlWriter.WriteWhitespaceAsync(), and System.SR.Xml_NonWhitespace.