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