1 write to EntryPointNodes
Microsoft.Build (1)
Graph\ProjectGraph.cs (1)
443
EntryPointNodes
= graphBuilder.EntryPointNodes;
19 references to EntryPointNodes
Microsoft.Build (8)
BackEnd\BuildManager\BuildManager.cs (1)
1949
foreach (ProjectGraphNode entryPointNode in projectGraph.
EntryPointNodes
)
Graph\GraphBuildRequestData.cs (2)
199
foreach (ProjectGraphNode entryPoint in ProjectGraph.
EntryPointNodes
)
218
ProjectGraphNode? node = ProjectGraph?.
EntryPointNodes
.FirstOrDefault();
Graph\ProjectGraph.cs (5)
556
return $"#roots={GraphRoots.Count}, #nodes={ProjectNodes.Count}, #entryPoints={
EntryPointNodes
.Count}";
622
foreach (ProjectGraphNode entryPointNode in
EntryPointNodes
)
637
foreach (ProjectGraphNode entryPointNode in
EntryPointNodes
)
691
ProjectGraphNode GetNodeForProject(ProjectInSolution project) =>
EntryPointNodes
.First(node => string.Equals(node.ProjectInstance.FullPath, project.AbsolutePath));
697
foreach (ProjectGraphNode entryPointNode in
EntryPointNodes
)
Microsoft.Build.Engine.UnitTests (11)
Graph\GraphLoadedFromSolution_tests.cs (1)
693
graphFromSolution.
EntryPointNodes
.Select(GetProjectPath)
Graph\ProjectGraph_Tests.cs (10)
53
projectGraph.
EntryPointNodes
.ShouldBeEmpty();
604
projectGraph.
EntryPointNodes
.Count.ShouldBe(2);
606
var entryPointNode1 = projectGraph.
EntryPointNodes
.First();
607
var entryPointNode2 = projectGraph.
EntryPointNodes
.Last();
643
projectGraph.
EntryPointNodes
.Count.ShouldBe(2);
645
var entryPointNode1 = projectGraph.
EntryPointNodes
.First();
646
var entryPointNode2 = projectGraph.
EntryPointNodes
.Last();
674
projectGraph.
EntryPointNodes
.Count.ShouldBe(3);
862
projectGraph.
EntryPointNodes
.Count.ShouldBe(5);
863
projectGraph.
EntryPointNodes
.Select(node => node.ProjectInstance.FullPath).ShouldBe(new[] { project1Path, project2Path, project3Path, project6Path, project8Path }, ignoreOrder: true);