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