6 references to Ancestors
Aspire.Hosting.Java (1)
JavaVersionDetector.cs (1)
287
private static bool IsInProfile(XElement element) => element.
Ancestors
().Any(IsProfile);
NuGet.Configuration (1)
Utility\XElementUtility.cs (1)
70
var depth = node.
Ancestors
().Count();
NuGet.PackageManagement (1)
Utility\XElementExtensions.cs (1)
341
var depth = node.
Ancestors
().Count();
System.Private.Xml.Linq (3)
System\Xml\Linq\XElement.cs (3)
326
/// <seealso cref="XNode.
Ancestors
()"/>
331
/// <seealso cref="XNode.
Ancestors
()"/>
348
/// <seealso cref="XNode.
Ancestors
()"/>