6 references to Elements
GenerateTemplateManifest (1)
TemplateRestorePlan.cs (1)
248
project.Elements("PropertyGroup").
Elements
().Where(p => compilationOnly.Contains(p.Name.LocalName, StringComparer.Ordinal)).Remove();
Infrastructure.Tests (1)
ResourceGeneratorMetadataTests.cs (1)
72
new XElement("ItemGroup", source.Root.Elements("ItemGroup").
Elements
()
NuGet.PackageManagement (1)
Utility\XElementExtensions.cs (1)
53
return source.
Elements
().Where(e => e.Name.LocalName == localName);
NuGet.Packaging (3)
Rules\DependenciesGroupsForEachTFMRule.cs (1)
195
return nuspec.Descendants(XName.Get("{" + name.NamespaceName + "}dependencies")).
Elements
().Attributes("targetFramework").Select(f => NuGetFramework.Parse(f.Value));
Rules\ReferencesInNuspecMatchRefAssetsRule.cs (2)
39
var targetFrameworks = nuspec.Descendants(XName.Get("{" + name.NamespaceName + "}references")).
Elements
().Attributes("targetFramework");
43
.
Elements
().Attributes("file").Select(f => f.Value);