12 references to XPathSelectElements
BuildBoss (8)
ProjectUtil.cs (8)
47
internal XElement GetTargetFramework() => Document.
XPathSelectElements
("//mb:TargetFramework", Manager).FirstOrDefault();
49
internal XElement GetTargetFrameworks() => Document.
XPathSelectElements
("//mb:TargetFrameworks", Manager).FirstOrDefault();
60
var hasProjectWithSdkAttribute = Document.
XPathSelectElements
("//mb:Project", Manager).FirstOrDefault()?.Attribute("Sdk") != null;
84
var groups = Document.
XPathSelectElements
("//mb:PropertyGroup", Manager);
96
return Document.
XPathSelectElements
("//mb:Target", Manager);
101
return Document.
XPathSelectElements
("//mb:Import", Manager);
113
var references = Document.
XPathSelectElements
("//mb:ItemGroup/mb:ProjectReference", Manager);
147
foreach (var ivt in Document.
XPathSelectElements
("//mb:InternalsVisibleTo", Manager))
Microsoft.DotNet.Build.Tasks.Installers (2)
src\CreateWixCommandPackageDropBase.cs (2)
245
IEnumerable<XElement> iels = doc.
XPathSelectElements
(xpath, nsmgr);
251
IEnumerable<XElement> fields = row.
XPathSelectElements
("wix:field", nsmgr);
System.Private.Xml.Linq (2)
System\Xml\XPath\XNodeNavigator.cs (2)
986
return node.
XPathSelectElements
(expression, resolver).FirstOrDefault();
997
return node.
XPathSelectElements
(expression, null);