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

◆ WriteXmlDeclarationAsync() [2/2]

override async Task System.Xml.XmlEncodedRawTextWriter.WriteXmlDeclarationAsync ( XmlStandalone standalone)
inlinepackagevirtualinherited

Reimplemented from System.Xml.XmlRawWriter.

Definition at line 1605 of file XmlEncodedRawTextWriter.cs.

1606 {
1609 {
1611 {
1613 }
1616 if (_encoding != null)
1617 {
1620 }
1621 if (standalone != 0)
1622 {
1624 await RawTextAsync((standalone == XmlStandalone.Yes) ? "yes" : "no").ConfigureAwait(continueOnCapturedContext: false);
1625 }
1627 }
1628 }
virtual string WebName
Definition Encoding.cs:386
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226

References System.Xml.XmlEncodedRawTextWriter._autoXmlDeclaration, System.Xml.XmlEncodedRawTextWriter._encoding, System.Xml.XmlEncodedRawTextWriter._inTextContent, System.Xml.XmlEncodedRawTextWriter._omitXmlDeclaration, System.Xml.XmlEncodedRawTextWriter._trackTextContent, System.Xml.XmlEncodedRawTextWriter.ChangeTextContentMark(), System.Xml.XmlEncodedRawTextWriter.CheckAsyncCall(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.Dictionary, System.Xml.XmlEncodedRawTextWriter.RawTextAsync(), System.value, and System.Text.Encoding.WebName.