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

◆ SkipAsync()

override async Task System.Xml.XmlTextReaderImpl.SkipAsync ( )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 8795 of file XmlTextReaderImpl.cs.

8796 {
8798 if (_readState != ReadState.Interactive)
8799 {
8800 return;
8801 }
8803 {
8806 }
8807 else
8808 {
8809 switch (_parsingFunction)
8810 {
8811 case ParsingFunction.InIncrementalRead:
8813 break;
8814 case ParsingFunction.PartialTextValue:
8816 break;
8817 case ParsingFunction.InReadValueChunk:
8819 break;
8820 case ParsingFunction.InReadContentAsBinary:
8822 break;
8823 case ParsingFunction.InReadElementContentAsBinary:
8825 break;
8826 }
8827 }
8828 XmlNodeType type = _curNode.type;
8829 if (type != XmlNodeType.Element)
8830 {
8831 if (type != XmlNodeType.Attribute)
8832 {
8833 goto IL_0328;
8834 }
8836 }
8838 {
8839 int initialDepth = _index;
8840 _parsingMode = ParsingMode.SkipContent;
8842 {
8843 }
8844 _parsingMode = ParsingMode.Full;
8845 }
8846 goto IL_0328;
8847 IL_0328:
8849 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual Task< bool > ReadAsync()

References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._index, System.Xml.XmlTextReaderImpl._nodes, System.Xml.XmlTextReaderImpl._outerReader, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._parsingMode, System.Xml.XmlTextReaderImpl._readState, System.Xml.XmlTextReaderImpl.CheckAsyncCall(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.FinishAttributeValueIterator(), System.Xml.XmlTextReaderImpl.FinishIncrementalRead(), System.Xml.XmlTextReaderImpl.FinishReadContentAsBinaryAsync(), System.Xml.XmlTextReaderImpl.FinishReadElementContentAsBinaryAsync(), System.Xml.XmlTextReaderImpl.FinishReadValueChunkAsync(), System.Xml.XmlTextReaderImpl.NodeData.IsEmptyElement, System.Xml.XmlReader.MoveToElement(), System.Xml.XmlReader.ReadAsync(), System.Xml.XmlTextReaderImpl.SkipPartialTextValueAsync(), System.type, and System.Xml.XmlTextReaderImpl.NodeData.type.