25 instantiations of ProjectGraphEntryPoint
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
650return new[] { new ProjectGraphEntryPoint(configuration.ProjectFullPath, globalProperties) }; 695graphEntryPoints.Add(new ProjectGraphEntryPoint(projectPath, globalProperties));
Graph\GraphBuilder.cs (1)
337newEntryPoints.Add(new ProjectGraphEntryPoint(project.AbsolutePath, projectGlobalProperties));
Graph\GraphBuildRequestData.cs (2)
69: this(new ProjectGraphEntryPoint(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, BuildRequestDataFlags.None) 82: this(new ProjectGraphEntryPoint(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, flags)
Graph\ProjectGraph.cs (5)
116: this(new ProjectGraphEntryPoint(entryProjectFile).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null) 146: this(new ProjectGraphEntryPoint(entryProjectFile).AsEnumerable(), projectCollection, null) 189: this(new ProjectGraphEntryPoint(entryProjectFile).AsEnumerable(), projectCollection, projectInstanceFactory) 206: this(new ProjectGraphEntryPoint(entryProjectFile, globalProperties).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null) 244: this(new ProjectGraphEntryPoint(entryProjectFile, globalProperties).AsEnumerable(), projectCollection, null)
Graph\ProjectGraphEntryPoint.cs (2)
52yield return new ProjectGraphEntryPoint(entryProjectFile); 60yield return new ProjectGraphEntryPoint(entryProjectFile, globalProperties);
Microsoft.Build.Engine.UnitTests (12)
BackEnd\BuildManager_Tests.cs (3)
4184var data = new GraphBuildRequestData(new ProjectGraphEntryPoint(project1), Array.Empty<string>()); 4268var data = new GraphBuildRequestData(new ProjectGraphEntryPoint(project1), Array.Empty<string>()); 4286projectGraphEntryPoints: new[] { new ProjectGraphEntryPoint(graph.GraphRoots.First().ProjectInstance.FullPath) },
Construction\SolutionFilter_Tests.cs (1)
125ProjectGraphEntryPoint entryPoint = new(filterFile.Path, new Dictionary<string, string>());
Graph\GetCompatiblePlatformGraph_Tests.cs (1)
442ProjectGraphEntryPoint entryPoint = new(solutionFile.Path, new Dictionary<string, string>());
Graph\GraphLoadedFromSolution_tests.cs (1)
705new ProjectGraphEntryPoint(
Graph\ProjectGraph_Tests.cs (6)
357var entryPoint1 = new ProjectGraphEntryPoint(entryFile1.Path, new Dictionary<string, string> { ["B"] = "EntryPointB", ["C"] = "EntryPointC" }); 358var entryPoint2 = new ProjectGraphEntryPoint(entryFile2.Path, null); 598var entryPoint1 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x86" } }); 599var entryPoint2 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x64" } }); 637var entryPoint1 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x86" } }); 638var entryPoint2 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x64" } });
MSBuild (1)
XMake.cs (1)
1572graphBuildRequest = new GraphBuildRequestData(new[] { new ProjectGraphEntryPoint(projectFile, globalProperties) }, targets, null, flags, graphBuildOptions);
49 references to ProjectGraphEntryPoint
Microsoft.Build (37)
BackEnd\Components\ProjectCache\CacheContext.cs (3)
23public IReadOnlyCollection<ProjectGraphEntryPoint>? GraphEntryPoints { get; } 32IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null) 42IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (5)
246IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = buildRequestConfiguration != null 620private IReadOnlyCollection<ProjectGraphEntryPoint> GetGraphEntryPoints(BuildRequestConfiguration configuration) 653static IReadOnlyCollection<ProjectGraphEntryPoint> GenerateGraphEntryPointsFromSolutionConfigurationXml( 661return Array.Empty<ProjectGraphEntryPoint>(); 664var graphEntryPoints = new List<ProjectGraphEntryPoint>(projectConfigurations.Count);
Graph\GraphBuilder.cs (7)
56IEnumerable<ProjectGraphEntryPoint> entryPoints, 247private (IReadOnlyCollection<ProjectGraphEntryPoint> NewEntryPoints, IReadOnlyDictionary<string, IReadOnlyCollection<string>> SolutionDependencies) ExpandSolutionIfPresent(IReadOnlyCollection<ProjectGraphEntryPoint> entryPoints) 264ProjectGraphEntryPoint solutionEntryPoint = entryPoints.Single(); 311List<ProjectGraphEntryPoint> newEntryPoints = new(projectsInSolution.Count); 407private static List<ConfigurationMetadata> AddGraphBuildPropertyToEntryPoints(IEnumerable<ProjectGraphEntryPoint> entryPoints) 412foreach (var entryPoint in entryPoints)
Graph\GraphBuildRequestData.cs (8)
91public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild) 102public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices hostServices) 114public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags) 124public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild) 135public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices hostServices) 147public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags) 155public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) 192public IEnumerable<ProjectGraphEntryPoint> ProjectGraphEntryPoints { get; }
Graph\ProjectGraph.cs (11)
34/// <see cref="ProjectGraphEntryPoint" /> instance. 129: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles), ProjectCollection.GlobalProjectCollection, null) 163: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles), projectCollection, null) 223: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles, globalProperties), ProjectCollection.GlobalProjectCollection, null) 265: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles, globalProperties), projectCollection, null) 276public ProjectGraph(ProjectGraphEntryPoint entryPoint) 288public ProjectGraph(IEnumerable<ProjectGraphEntryPoint> entryPoints) 304public ProjectGraph(ProjectGraphEntryPoint entryPoint, ProjectCollection projectCollection) 334IEnumerable<ProjectGraphEntryPoint> entryPoints, 374IEnumerable<ProjectGraphEntryPoint> entryPoints, 418IEnumerable<ProjectGraphEntryPoint> entryPoints,
Graph\ProjectGraphEntryPoint.cs (3)
48internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles) 56internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties) 64internal readonly IEnumerable<ProjectGraphEntryPoint> AsEnumerable()
Microsoft.Build.Engine.UnitTests (9)
Construction\SolutionFilter_Tests.cs (1)
125ProjectGraphEntryPoint entryPoint = new(filterFile.Path, new Dictionary<string, string>());
Graph\GetCompatiblePlatformGraph_Tests.cs (1)
442ProjectGraphEntryPoint entryPoint = new(solutionFile.Path, new Dictionary<string, string>());
Graph\ProjectGraph_Tests.cs (7)
50var projectGraph = new ProjectGraph(Enumerable.Empty<ProjectGraphEntryPoint>()); 357var entryPoint1 = new ProjectGraphEntryPoint(entryFile1.Path, new Dictionary<string, string> { ["B"] = "EntryPointB", ["C"] = "EntryPointC" }); 358var entryPoint2 = new ProjectGraphEntryPoint(entryFile2.Path, null); 598var entryPoint1 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x86" } }); 599var entryPoint2 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x64" } }); 637var entryPoint1 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x86" } }); 638var entryPoint2 = new ProjectGraphEntryPoint(entryProject.Path, new Dictionary<string, string> { { "Platform", "x64" } });
MSBuild (1)
XMake.cs (1)
1602ProjectGraphEntryPoint entryPoint = graphBuildRequest.ProjectGraphEntryPoints.Single();
ProjectCachePlugin (2)
AssemblyMockCache.cs (2)
29foreach (var ep in context.GraphEntryPoints ?? Enumerable.Empty<ProjectGraphEntryPoint>())