28 references to Descendants
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
158var requestStatus = eventElement.Element(nameSpace + "EventData").Descendants().Where(el => el.Attribute("Name").Value == "requestStatus").SingleOrDefault();
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
158var requestStatus = eventElement.Element(nameSpace + "EventData").Descendants().Where(el => el.Attribute("Name").Value == "requestStatus").SingleOrDefault();
Microsoft.AspNetCore.App.UnitTests (5)
SharedFxTests.cs (2)
269var runtimeListEntries = runtimeListDoc.Root.Descendants(); 322var runtimeListEntries = runtimeListDoc.Root.Descendants();
TargetingPackTests.cs (3)
300var frameworkListEntries = frameworkListDoc.Root.Descendants(); 363var frameworkListEntries = frameworkListDoc.Root.Descendants(); 405var frameworkListEntries = frameworkListDoc.Root.Descendants();
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\XmlEncryptionExtensions.cs (1)
121var elementWhichRequiresEncryption = doc.Descendants().FirstOrDefault(DoesSingleElementRequireEncryption);
Microsoft.Build.Tasks.UnitTests (1)
GenerateBindingRedirects_Tests.cs (1)
143targetAppConfig.Descendants()
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
402.Descendants()
Microsoft.CodeAnalysis.Test.Utilities (6)
Metadata\ILValidation.cs (6)
341.Descendants().Where(e => e.Name == "files").Single() 342.Descendants().ToImmutableDictionary(e => e.Attribute("id").Value, e => e.Attribute("name").Value); 351foreach (var e in methodXml.Descendants()) 359foreach (var e in methodXml.Descendants()) 382foreach (var e in methodXml.Descendants()) 395foreach (var e in methodXml.Descendants())
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
402.Descendants()
Microsoft.DotNet.Arcade.Sdk (4)
src\SourceBuild\AddSourceMappingToNugetConfig.cs (4)
28XElement pkgSrcMappingElement = document.Root.Descendants().FirstOrDefault(e => e.Name == "packageSourceMapping"); 48string[] packagePatterns = pkgSrcMappingElement.Descendants() 50.SelectMany(e => e.Descendants().Where(e => e.Name == "package")) 55XElement pkgSrcMappingClearElement = pkgSrcMappingElement.Descendants().FirstOrDefault(e => e.Name == "clear");
Microsoft.DotNet.Build.Tasks.Workloads (1)
Msi\WorkloadPackGroupMsi.wix.cs (1)
85var dotnetHomeElement = directoriesDoc.Root.Descendants().Where(d => (string)d.Attribute("Id") == "DOTNETHOME").Single();
Microsoft.DotNet.VersionTools (1)
Automation\NupkgInfoFactory.cs (1)
65return el.Descendants().First(c => c.Name.LocalName.ToString() == name);
Microsoft.DotNet.XliffTasks (3)
Model\XamlRuleDocument.cs (1)
27foreach (XElement? element in Document.Descendants())
Tasks\TransformTemplates.cs (2)
77foreach (XElement projectNode in templateXml.Descendants().Where(d => d.Name.LocalName == "Project")) 84foreach (XElement templateItem in templateXml.Descendants().Where(d => d.Name.LocalName == "ProjectItem"))
System.ComponentModel.TypeConverter (1)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
207return _value = new XDeferredAxis<XElement>((e, n) => n != null ? e.Descendants(n) : e.Descendants(), (component as XElement)!, null);
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
890foreach (XElement e in c.Descendants())