1 write to ProjectNodes
Microsoft.Build (1)
Graph\ProjectGraph.cs (1)
445ProjectNodes = graphBuilder.ProjectNodes;
18 references to ProjectNodes
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (3)
2258var blockedNodes = new HashSet<ProjectGraphNode>(projectGraph.ProjectNodes); 2259var finishedNodes = new HashSet<ProjectGraphNode>(projectGraph.ProjectNodes.Count); 2261var resultsPerNode = new Dictionary<ProjectGraphNode, BuildResult>(projectGraph.ProjectNodes.Count);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
114projectGraph.ProjectNodes,
Graph\ProjectGraph.cs (5)
449_projectNodesTopologicallySorted = new Lazy<IReadOnlyCollection<ProjectGraphNode>>(() => TopologicalSort(GraphRoots, ProjectNodes)); 486ProjectNodes.Count, 513foreach (var node in ProjectNodes) 556return $"#roots={GraphRoots.Count}, #nodes={ProjectNodes.Count}, #entryPoints={EntryPointNodes.Count}"; 614var targetLists = ProjectNodes.ToDictionary(node => node, node => ImmutableList<string>.Empty);
Microsoft.DotNet.HotReload.Watch (7)
Build\EvaluationResult.cs (2)
98var restoredProjectInstances = projectGraph.Graph.ProjectNodes.ToDictionary( 125logger.Log(MessageDescriptor.LoadedProjects, projectGraph.Graph.ProjectNodes.Count, projectLoadingStopwatch.Elapsed.TotalSeconds);
Build\FilePathExclusions.cs (1)
21foreach (var projectNode in projectGraph.ProjectNodes)
Build\LoadedProjectGraph.cs (3)
15graph.ProjectNodes.Where(n => n.ProjectInstance.GetTargetFramework() != "").GroupBy(n => n.ProjectInstance.FullPath).ToDictionary( 20graph.ProjectNodes.SelectMany(p => p.ProjectInstance.ImportPaths) 21.Concat(graph.ProjectNodes.Select(p => p.ProjectInstance.FullPath))
HotReload\CompilationHandler.cs (1)
1009=> graph.ProjectNodes
NuGet.Build.Tasks.Console (2)
MSBuildStaticGraphRestore.cs (2)
1308foreach (ProjectGraphNode projectGraphItem in projectGraph.ProjectNodes) 1365MSBuildLogger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.ProjectEvaluationSummary, projectGraph.ProjectNodes.Count, sw.ElapsedMilliseconds, buildCount, failedBuildSubmissionCount));