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

◆ WriteCharEntityAsync()

override async Task System.Xml.XmlWellFormedWriter.WriteCharEntityAsync ( char ch)
inlinevirtual

Reimplemented from System.Xml.XmlWriter.

Definition at line 3815 of file XmlWellFormedWriter.cs.

3816 {
3817 _ = 1;
3818 try
3819 {
3820 if (char.IsSurrogate(ch))
3821 {
3823 }
3825 if (SaveAttrValue)
3826 {
3828 }
3829 else
3830 {
3832 }
3833 }
3834 catch
3835 {
3836 _currentState = State.Error;
3837 throw;
3838 }
3839 }
static string Xml_InvalidSurrogateMissingLowChar
Definition SR.cs:324
Definition SR.cs:7
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task WriteCharEntityAsync(char ch)
Definition XmlWriter.cs:658

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceStateAsync(), System.Xml.ArgumentException, System.ch, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteCharEntity(), System.Xml.XmlWriter.WriteCharEntityAsync(), and System.SR.Xml_InvalidSurrogateMissingLowChar.