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

◆ SkipSubtreeAsync()

async Task< bool > System.Xml.XmlReader.SkipSubtreeAsync ( )
inlineprivateinherited

Definition at line 1761 of file XmlReader.cs.

1762 {
1763 MoveToElement();
1764 if (NodeType == XmlNodeType.Element && !IsEmptyElement)
1765 {
1766 int depth = Depth;
1767 while (await ReadAsync().ConfigureAwait(continueOnCapturedContext: false) && depth < Depth)
1768 {
1769 }
1770 if (NodeType == XmlNodeType.EndElement)
1771 {
1773 }
1774 return false;
1775 }
1777 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task< bool > ReadAsync()
XmlNodeType NodeType
Definition XmlReader.cs:62

References System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.XmlReader.Depth, System.Xml.Dictionary, System.Xml.XmlReader.IsEmptyElement, System.Xml.XmlReader.MoveToElement(), System.Xml.XmlReader.NodeType, and System.Xml.XmlReader.ReadAsync().

Referenced by System.Xml.XmlReader.SkipAsync().