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

◆ NodesBeforeSelf()

IEnumerable< XNode > System.Xml.Linq.XNode.NodesBeforeSelf ( )
inlineinherited

Definition at line 230 of file XNode.cs.

231 {
232 if (parent == null)
233 {
234 yield break;
235 }
237 do
238 {
239 i = i.next;
240 if (i != this)
241 {
242 yield return i;
243 continue;
244 }
245 break;
246 }
247 while (parent != null && parent == i.parent);
248 }
XContainer parent
Definition XObject.cs:7

References System.Xml.Linq.XNode.XNode(), System.Xml.Linq.XContainer.content, and System.Xml.Linq.XObject.parent.