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

◆ CollectText()

string System.Xml.Linq.XContainer.CollectText ( ref XNode n)
inlineprivateinherited

Definition at line 926 of file XContainer.cs.

927 {
928 string text = "";
929 while (n != null && n.NodeType == XmlNodeType.Text)
930 {
931 text += ((XText)n).Value;
932 n = ((n != content) ? n.next : null);
933 }
934 return text;
935 }

References System.Xml.Linq.XContainer.content, and System.text.

Referenced by System.Xml.Linq.XContainer.ContentsEqual(), and System.Xml.Linq.XContainer.ContentsHashCode().