25 instantiations of ProjectGraphEntryPoint
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
653return [new ProjectGraphEntryPoint(configuration.ProjectFullPath, globalProperties)]; 698graphEntryPoints.Add(new ProjectGraphEntryPoint(projectPath, globalProperties));
Graph\GraphBuilder.cs (1)
337newEntryPoints.Add(new ProjectGraphEntryPoint(project.AbsolutePath, projectGlobalProperties));
Graph\GraphBuildRequestData.cs (2)
71: this(new ProjectGraphEntryPoint(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, BuildRequestDataFlags.None) 84: 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)
4251var data = new GraphBuildRequestData(new ProjectGraphEntryPoint(project1), Array.Empty<string>()); 4335var data = new GraphBuildRequestData(new ProjectGraphEntryPoint(project1), Array.Empty<string>()); 4352projectGraphEntryPoints: new[] { new ProjectGraphEntryPoint(
Construction\SolutionFilter_Tests.cs (1)
129ProjectGraphEntryPoint 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)
684new 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)
1583graphBuildRequest = new GraphBuildRequestData([new ProjectGraphEntryPoint(projectFile, globalProperties)], targets, null, flags, graphBuildOptions);
51 references to ProjectGraphEntryPoint
Microsoft.Build (39)
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 623private IReadOnlyCollection<ProjectGraphEntryPoint> GetGraphEntryPoints(BuildRequestConfiguration configuration) 656static IReadOnlyCollection<ProjectGraphEntryPoint> GenerateGraphEntryPointsFromSolutionConfigurationXml( 664return Array.Empty<ProjectGraphEntryPoint>(); 667var 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 (10)
93public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild) 104public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices) 116public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) 126public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild) 137public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices) 149public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) 157public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) 187public IEnumerable<ProjectGraphEntryPoint>? ProjectGraphEntryPoints { get; } 206foreach (ProjectGraphEntryPoint entryPoint in ProjectGraphEntryPoints) 224ProjectGraphEntryPoint? entryPoint = ProjectGraphEntryPoints?.FirstOrDefault();
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)
129ProjectGraphEntryPoint 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)
1613ProjectGraphEntryPoint entryPoint = graphBuildRequest.ProjectGraphEntryPoints.Single();
ProjectCachePlugin (2)
AssemblyMockCache.cs (2)
29foreach (var ep in context.GraphEntryPoints ?? Enumerable.Empty<ProjectGraphEntryPoint>())