25 instantiations of ProjectGraphEntryPoint
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
750return [new ProjectGraphEntryPoint(configuration.ProjectFullPath, globalProperties)]; 795graphEntryPoints.Add(new ProjectGraphEntryPoint(projectPath, globalProperties));
Graph\GraphBuilder.cs (1)
346newEntryPoints.Add(new ProjectGraphEntryPoint(project.AbsolutePath, projectGlobalProperties));
Graph\GraphBuildRequestData.cs (2)
72: this(new ProjectGraphEntryPoint(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, BuildRequestDataFlags.None) 85: 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)
53yield return new ProjectGraphEntryPoint(entryProjectFile); 61yield return new ProjectGraphEntryPoint(entryProjectFile, globalProperties);
Microsoft.Build.Engine.UnitTests (12)
BackEnd\BuildManager_Tests.cs (3)
4294var data = new GraphBuildRequestData(new ProjectGraphEntryPoint(project1), Array.Empty<string>()); 4378var data = new GraphBuildRequestData(new ProjectGraphEntryPoint(project1), Array.Empty<string>()); 4395projectGraphEntryPoints: new[] { new ProjectGraphEntryPoint(
Construction\SolutionFilter_Tests.cs (1)
130ProjectGraphEntryPoint entryPoint = new(filterFile.Path, new Dictionary<string, string>());
Graph\GetCompatiblePlatformGraph_Tests.cs (1)
431ProjectGraphEntryPoint entryPoint = new(solutionFile.Path, new Dictionary<string, string>());
Graph\GraphLoadedFromSolution_tests.cs (1)
682new 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)
1623graphBuildRequest = new GraphBuildRequestData([new ProjectGraphEntryPoint(projectFile, globalProperties)], targets, null, flags, graphBuildOptions);
54 references to ProjectGraphEntryPoint
Microsoft.Build (42)
BackEnd\Components\ProjectCache\CacheContext.cs (3)
22public IReadOnlyCollection<ProjectGraphEntryPoint>? GraphEntryPoints { get; } 31IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null) 41IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\Experimental\CacheContext.cs (3)
24public IReadOnlyCollection<ProjectGraphEntryPoint>? GraphEntryPoints { get; } 33IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null) 43IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (5)
253IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = buildRequestConfiguration != null 720private IReadOnlyCollection<ProjectGraphEntryPoint> GetGraphEntryPoints(BuildRequestConfiguration configuration) 753static IReadOnlyCollection<ProjectGraphEntryPoint> GenerateGraphEntryPointsFromSolutionConfigurationXml( 761return Array.Empty<ProjectGraphEntryPoint>(); 764var graphEntryPoints = new List<ProjectGraphEntryPoint>(projectConfigurations.Count);
Graph\GraphBuilder.cs (7)
65IEnumerable<ProjectGraphEntryPoint> entryPoints, 256private (IReadOnlyCollection<ProjectGraphEntryPoint> NewEntryPoints, IReadOnlyDictionary<string, IReadOnlyCollection<string>> SolutionDependencies) ExpandSolutionIfPresent(IReadOnlyCollection<ProjectGraphEntryPoint> entryPoints) 273ProjectGraphEntryPoint solutionEntryPoint = entryPoints.Single(); 320List<ProjectGraphEntryPoint> newEntryPoints = new(projectsInSolution.Count); 416private static List<ConfigurationMetadata> AddGraphBuildPropertyToEntryPoints(IEnumerable<ProjectGraphEntryPoint> entryPoints) 421foreach (var entryPoint in entryPoints)
Graph\GraphBuildRequestData.cs (10)
94public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild) 105public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices) 117public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) 127public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild) 138public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices) 150public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) 158public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) 188public IEnumerable<ProjectGraphEntryPoint>? ProjectGraphEntryPoints { get; } 207foreach (ProjectGraphEntryPoint entryPoint in ProjectGraphEntryPoints) 225ProjectGraphEntryPoint? 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)
49internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles) 57internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties) 65internal readonly IEnumerable<ProjectGraphEntryPoint> AsEnumerable()
Microsoft.Build.Engine.UnitTests (9)
Construction\SolutionFilter_Tests.cs (1)
130ProjectGraphEntryPoint entryPoint = new(filterFile.Path, new Dictionary<string, string>());
Graph\GetCompatiblePlatformGraph_Tests.cs (1)
431ProjectGraphEntryPoint 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)
1653ProjectGraphEntryPoint entryPoint = graphBuildRequest.ProjectGraphEntryPoints.Single();
ProjectCachePlugin (2)
AssemblyMockCache.cs (2)
28foreach (var ep in context.GraphEntryPoints ?? Enumerable.Empty<ProjectGraphEntryPoint>())