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)
69
private readonly Dictionary<ProjectId,
ProjectFileInfo
> _projectIdToFileInfoMap;
171
private async Task<ImmutableArray<
ProjectFileInfo
>> LoadProjectFileInfosAsync(string projectPath, DiagnosticReportingOptions reportingOptions, CancellationToken cancellationToken)
193
return [
ProjectFileInfo
.CreateEmpty(languageName, projectPath)];
203
var results = ImmutableArray.CreateBuilder<
ProjectFileInfo
>(projectFileInfos.Length);
205
foreach (
var
projectFileInfo in projectFileInfos)
232
var idsAndFileInfos = new List<(ProjectId id,
ProjectFileInfo
fileInfo)>();
234
foreach (
var
projectFileInfo in projectFileInfos)
274
private Task<ProjectInfo> CreateProjectInfoAsync(
ProjectFileInfo
projectFileInfo, ProjectId projectId, bool addDiscriminator, CancellationToken cancellationToken)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (2)
186
private async Task<ResolvedReferences> ResolveReferencesAsync(ProjectId id,
ProjectFileInfo
projectFileInfo, CommandLineArguments commandLineArgs, CancellationToken cancellationToken)
354
foreach (
var
projectFileInfo in projectFileInfos)
MSBuild\ProjectMap.cs (1)
142
internal ProjectId GetOrCreateProjectId(
ProjectFileInfo
projectFileInfo)
Rpc\RemoteProjectFile.cs (2)
25
public 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)
17
Task<ImmutableArray<
ProjectFileInfo
>> GetProjectFileInfosAsync(CancellationToken cancellationToken);
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileInfo.cs (1)
151
public static
ProjectFileInfo
CreateEmpty(string language, string? filePath)