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

◆ GetRemainder()

TextReader System.Xml.XmlTextReaderImpl.GetRemainder ( )
inlinepackage

Definition at line 2636 of file XmlTextReaderImpl.cs.

2637 {
2638 switch (_parsingFunction)
2639 {
2640 case ParsingFunction.Eof:
2641 case ParsingFunction.ReaderClosed:
2642 return new StringReader(string.Empty);
2643 case ParsingFunction.OpenUrl:
2644 OpenUrl();
2645 break;
2646 case ParsingFunction.InIncrementalRead:
2647 if (!InEntity)
2648 {
2650 }
2651 break;
2652 }
2653 while (InEntity)
2654 {
2656 }
2657 _ps.appendMode = false;
2658 do
2659 {
2662 }
2663 while (ReadData() != 0);
2664 OnEof();
2665 string s = _stringBuilder.ToString();
2667 return new StringReader(s);
2668 }
override string ToString()
StringBuilder Append(char value, int repeatCount)
readonly StringBuilder _stringBuilder
bool HandleEntityEnd(bool checkEntityNesting)

References System.Xml.XmlTextReaderImpl._incReadLeftEndPos, System.Xml.XmlTextReaderImpl._incReadLeftStartPos, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl._stringBuilder, System.Text.StringBuilder.Append(), System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.Xml.XmlTextReaderImpl.ParsingState.chars, System.Xml.XmlTextReaderImpl.ParsingState.charsUsed, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.HandleEntityEnd(), System.Xml.XmlTextReaderImpl.OnEof(), System.Xml.XmlTextReaderImpl.OpenUrl(), System.Xml.XmlTextReaderImpl.ReadData(), System.s, and System.Text.StringBuilder.ToString().

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