1 instantiation of ProjectFileInfo
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileInfo.cs (1)
152=> new()
15 references to ProjectFileInfo
Microsoft.CodeAnalysis.Workspaces.MSBuild (15)
MSBuild\MSBuildProjectLoader.Worker.cs (8)
69private readonly Dictionary<ProjectId, ProjectFileInfo> _projectIdToFileInfoMap; 171private async Task<ImmutableArray<ProjectFileInfo>> LoadProjectFileInfosAsync(string projectPath, DiagnosticReportingOptions reportingOptions, CancellationToken cancellationToken) 193return [ProjectFileInfo.CreateEmpty(languageName, projectPath)]; 203var results = ImmutableArray.CreateBuilder<ProjectFileInfo>(projectFileInfos.Length); 205foreach (var projectFileInfo in projectFileInfos) 232var idsAndFileInfos = new List<(ProjectId id, ProjectFileInfo fileInfo)>(); 234foreach (var projectFileInfo in projectFileInfos) 274private Task<ProjectInfo> CreateProjectInfoAsync(ProjectFileInfo projectFileInfo, ProjectId projectId, bool addDiscriminator, CancellationToken cancellationToken)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (2)
186private async Task<ResolvedReferences> ResolveReferencesAsync(ProjectId id, ProjectFileInfo projectFileInfo, CommandLineArguments commandLineArgs, CancellationToken cancellationToken) 354foreach (var projectFileInfo in projectFileInfos)
MSBuild\ProjectMap.cs (1)
142internal ProjectId GetOrCreateProjectId(ProjectFileInfo projectFileInfo)
Rpc\RemoteProjectFile.cs (2)
25public Task<ImmutableArray<ProjectFileInfo>> GetProjectFileInfosAsync(CancellationToken cancellationToken) 26=> _client.InvokeAsync<ImmutableArray<ProjectFileInfo>>(_remoteProjectFileTargetObject, nameof(IProjectFile.GetProjectFileInfosAsync), parameters: [], cancellationToken);
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\IProjectFile.cs (1)
17Task<ImmutableArray<ProjectFileInfo>> GetProjectFileInfosAsync(CancellationToken cancellationToken);
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileInfo.cs (1)
151public static ProjectFileInfo CreateEmpty(string language, string? filePath)