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

◆ ResetState()

void System.Xml.XmlTextReaderImpl.ResetState ( )
inlinepackage

Definition at line 2606 of file XmlTextReaderImpl.cs.

2607 {
2608 if (_fragment)
2609 {
2611 }
2612 if (_readState != 0)
2613 {
2615 while (_namespaceManager.PopScope())
2616 {
2617 }
2618 while (InEntity)
2619 {
2621 }
2622 _readState = ReadState.Initial;
2623 _parsingFunction = ParsingFunction.SwitchToInteractiveXmlDecl;
2624 _nextParsingFunction = ParsingFunction.DocumentContent;
2625 _curNode = _nodes[0];
2626 _curNode.Clear(XmlNodeType.None);
2627 _curNode.SetLineInfo(0, 0);
2628 _index = 0;
2629 _rootElementParsed = false;
2632 _afterResetState = true;
2633 }
2634 }
static string Xml_InvalidResetStateCall
Definition SR.cs:226
Definition SR.cs:7
void SetLineInfo(int lineNo, int linePos)
XmlNamespaceManager _namespaceManager
bool HandleEntityEnd(bool checkEntityNesting)
void Throw(int pos, string res, string arg)

References System.Xml.XmlTextReaderImpl._afterResetState, System.Xml.XmlTextReaderImpl._charactersFromEntities, System.Xml.XmlTextReaderImpl._charactersInDocument, System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._fragment, System.Xml.XmlTextReaderImpl._index, System.Xml.XmlTextReaderImpl._namespaceManager, System.Xml.XmlTextReaderImpl._nextParsingFunction, System.Xml.XmlTextReaderImpl._nodes, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._readState, System.Xml.XmlTextReaderImpl._rootElementParsed, System.Xml.XmlTextReaderImpl.NodeData.Clear(), System.Xml.XmlTextReaderImpl.HandleEntityEnd(), System.Xml.L, System.Xml.XmlNamespaceManager.PopScope(), System.Xml.XmlTextReaderImpl.ResetAttributes(), System.Xml.XmlTextReaderImpl.NodeData.SetLineInfo(), System.Xml.XmlTextReaderImpl.Throw(), and System.SR.Xml_InvalidResetStateCall.

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