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

◆ Read() [1/2]

override bool System.Xml.Linq.XNodeReader.Read ( )
inline

Definition at line 835 of file XNodeReader.cs.

836 {
837 switch (_state)
838 {
839 case ReadState.Initial:
840 _state = ReadState.Interactive;
841 if (_source is XDocument d)
842 {
843 return ReadIntoDocument(d);
844 }
845 return true;
846 case ReadState.Interactive:
847 return Read(skipContent: false);
848 default:
849 return false;
850 }
851 }
bool ReadIntoDocument(XDocument d)

References System.Xml.Linq.XNodeReader._source, System.Xml.Linq.XNodeReader._state, System.Xml.Dictionary, System.Xml.Linq.XNodeReader.Read(), and System.Xml.Linq.XNodeReader.ReadIntoDocument().

Referenced by System.Xml.Linq.XNodeReader.Read(), System.Xml.Linq.XNodeReader.ReadToFollowing(), and System.Xml.Linq.XNodeReader.Skip().