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

◆ Skip()

override void System.Xml.XmlTextReaderImpl.Skip ( )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 2098 of file XmlTextReaderImpl.cs.

2099 {
2100 if (_readState != ReadState.Interactive)
2101 {
2102 return;
2103 }
2105 {
2108 }
2109 else
2110 {
2111 switch (_parsingFunction)
2112 {
2113 case ParsingFunction.InIncrementalRead:
2115 break;
2116 case ParsingFunction.PartialTextValue:
2118 break;
2119 case ParsingFunction.InReadValueChunk:
2121 break;
2122 case ParsingFunction.InReadContentAsBinary:
2124 break;
2125 case ParsingFunction.InReadElementContentAsBinary:
2127 break;
2128 }
2129 }
2130 XmlNodeType type = _curNode.type;
2131 if (type != XmlNodeType.Element)
2132 {
2133 if (type != XmlNodeType.Attribute)
2134 {
2135 goto IL_00dc;
2136 }
2138 }
2140 {
2141 int index = _index;
2142 _parsingMode = ParsingMode.SkipContent;
2143 while (_outerReader.Read() && _index > index)
2144 {
2145 }
2146 _parsingMode = ParsingMode.Full;
2147 }
2148 goto IL_00dc;
2149 IL_00dc:
2151 }

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.Dictionary, System.Xml.XmlTextReaderImpl.FinishAttributeValueIterator(), System.Xml.XmlTextReaderImpl.FinishIncrementalRead(), System.Xml.XmlTextReaderImpl.FinishReadContentAsBinary(), System.Xml.XmlTextReaderImpl.FinishReadElementContentAsBinary(), System.Xml.XmlTextReaderImpl.FinishReadValueChunk(), System.index, System.Xml.XmlTextReaderImpl.NodeData.IsEmptyElement, System.Xml.XmlReader.MoveToElement(), System.Xml.XmlReader.Read(), System.Xml.XmlTextReaderImpl.SkipPartialTextValue(), System.type, and System.Xml.XmlTextReaderImpl.NodeData.type.

Referenced by System.Xml.XmlTextReader.Skip().