2 instantiations of ProjectMap
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\ProjectMap.cs (2)
53public static ProjectMap Create() => new(); 62var 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. 257ProjectMap? projectMap = null,
MSBuild\MSBuildProjectLoader.Worker.cs (3)
47private readonly ProjectMap _projectMap; 82ProjectMap? projectMap, 96_projectMap = projectMap ?? ProjectMap.Create();
MSBuild\MSBuildWorkspace.cs (2)
250var projectMap = ProjectMap.Create(this.CurrentSolution);
MSBuild\ProjectMap.cs (8)
51/// Create an empty <see cref="ProjectMap"/>. 53public 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> 60public static ProjectMap Create(Solution solution) 62var 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>