2 instantiations of ProjectMap
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\ProjectMap.cs (2)
53
public static ProjectMap Create() =>
new
();
62
var projectMap = new
ProjectMap
();
15 references to ProjectMap
Microsoft.CodeAnalysis.Workspaces.MSBuild (15)
MSBuild\MSBuildProjectLoader.cs (2)
250
/// <param name="projectMap">An optional <see cref="
ProjectMap
"/> that will be used to resolve project references to existing projects.
257
ProjectMap
? projectMap = null,
MSBuild\MSBuildProjectLoader.Worker.cs (3)
47
private readonly
ProjectMap
_projectMap;
82
ProjectMap
? projectMap,
96
_projectMap = projectMap ??
ProjectMap
.Create();
MSBuild\MSBuildWorkspace.cs (2)
250
var
projectMap =
ProjectMap
.Create(this.CurrentSolution);
MSBuild\ProjectMap.cs (8)
51
/// Create an empty <see cref="
ProjectMap
"/>.
53
public static
ProjectMap
Create() => new();
56
/// Create a <see cref="
ProjectMap
"/> populated with the given <see cref="Solution"/>.
58
/// <param name="solution">The <see cref="Solution"/> to populate the new <see cref="
ProjectMap
"/> with.</param>
60
public static
ProjectMap
Create(Solution solution)
62
var
projectMap = new ProjectMap();
73
/// Add a <see cref="Project"/> to this <see cref="
ProjectMap
"/>.
75
/// <param name="project">The <see cref="Project"/> to add to this <see cref="
ProjectMap
"/>.</param>