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

◆ ReadToFollowing() [1/2]

override bool System.Xml.Linq.XNodeReader.ReadToFollowing ( string localName,
string namespaceName )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 892 of file XNodeReader.cs.

893 {
894 while (Read())
895 {
896 if (_source is XElement xElement && !IsEndElement && xElement.Name.LocalName == localName && xElement.Name.NamespaceName == namespaceName)
897 {
898 return true;
899 }
900 }
901 return false;
902 }

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