4 references to 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);