29 references to GetTargetLists
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
2022
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetsPerNode = projectGraph.
GetTargetLists
(submission.BuildRequestData.TargetNames);
Microsoft.Build.Engine.UnitTests (28)
Graph\ProjectGraph_Tests.cs (28)
57
projectGraph.
GetTargetLists
(new[] { "restore", "build" }).ShouldBeEmpty();
928
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new[] { "A" });
956
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new[] { "A" });
987
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new[] { "A" });
1009
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(null);
1027
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new[] { "Foo" });
1050
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(null);
1073
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new[] { "A" });
1090
Should.Throw<ArgumentException>(() => projectGraph.
GetTargetLists
(new[] { " " }));
1116
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new List<string> { "A" });
1157
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new List<string> { "A" });
1191
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new List<string> { "A" });
1262
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(new[] { "A" });
1363
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(new List<string> { "A" });
1398
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(null);
1421
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(null);
1451
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(null);
1508
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(entryProjectTargets: null);
1553
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(entryProjectTargets: new[] { "Build" });
1603
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(entryProjectTargets: new[] { "Build" });
1634
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(null);
1846
var targetsPerNode = graph.
GetTargetLists
(new[] { "Build" });
2618
var targetLists = graph.
GetTargetLists
(new[] { "Build" });
2697
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(Array.Empty<string>());
2739
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(Array.Empty<string>());
2798
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.
GetTargetLists
(Array.Empty<string>());
2878
IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.
GetTargetLists
(entryTargets);
2921
var getTargetListsFunc = (() => projectGraph.
GetTargetLists
([entryTarget]));