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

◆ WriteEntityRefAsync()

override async Task System.Xml.XmlWellFormedWriter.WriteEntityRefAsync ( string name)
inlinevirtual

Reimplemented from System.Xml.XmlWriter.

Definition at line 3788 of file XmlWellFormedWriter.cs.

3789 {
3790 _ = 1;
3791 try
3792 {
3793 if (name == null || name.Length == 0)
3794 {
3796 }
3797 CheckNCName(name);
3799 if (SaveAttrValue)
3800 {
3802 }
3803 else
3804 {
3806 }
3807 }
3808 catch
3809 {
3810 _currentState = State.Error;
3811 throw;
3812 }
3813 }
static string Xml_EmptyName
Definition SR.cs:292
Definition SR.cs:7
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task WriteEntityRefAsync(string name)
Definition XmlWriter.cs:653

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceStateAsync(), System.Xml.ArgumentException, System.Xml.XmlWellFormedWriter.CheckNCName(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteEntityRef(), System.Xml.XmlWriter.WriteEntityRefAsync(), and System.SR.Xml_EmptyName.