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

◆ WriteEndDocumentAsync()

override async Task System.Xml.XmlWellFormedWriter.WriteEndDocumentAsync ( )
inlinevirtual

Reimplemented from System.Xml.XmlWriter.

Definition at line 3046 of file XmlWellFormedWriter.cs.

3047 {
3048 _ = 2;
3049 try
3050 {
3051 while (_elemTop > 0)
3052 {
3054 }
3055 State prevState = _currentState;
3057 if (prevState != State.AfterRootEle)
3058 {
3060 }
3061 if (_rawWriter == null)
3062 {
3064 }
3065 }
3066 catch
3067 {
3068 _currentState = State.Error;
3069 throw;
3070 }
3071 }
static string Xml_NoRoot
Definition SR.cs:316
Definition SR.cs:7
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task WriteEndDocumentAsync()
Definition XmlWriter.cs:586

References System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._elemTop, System.Xml.XmlWellFormedWriter._rawWriter, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceStateAsync(), System.Xml.ArgumentException, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.XmlWriter.WriteEndDocumentAsync(), System.Xml.XmlWellFormedWriter.WriteEndElementAsync(), and System.SR.Xml_NoRoot.