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

◆ DescendantsAndSelf() [2/2]

IEnumerable< XElement > System.Xml.Linq.XElement.DescendantsAndSelf ( XName? name)
inline

Definition at line 260 of file XElement.cs.

261 {
262 if (!(name != null))
263 {
264 return EmptySequence;
265 }
266 return GetDescendants(name, self: true);
267 }
IEnumerable< XElement > GetDescendants(XName name, bool self)
static IEnumerable< XElement > EmptySequence
Definition XElement.cs:29

References System.Xml.Linq.XElement.EmptySequence, System.Xml.Linq.XContainer.GetDescendants(), and System.Xml.Linq.XElement.name.