2 instantiations of ProjectFileInfo
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\ProjectFile\ProjectFile.cs (1)
184return new ProjectFileInfo()
Rpc\Contracts\ProjectFileInfo.cs (1)
152=> new()
13 references to ProjectFileInfo
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (13)
MSBuild\ProjectFile\ProjectFile.cs (11)
48/// instances of <see cref="ProjectFileInfo"/> if the project is multi-targeted: one for 51public async Task<ImmutableArray<ProjectFileInfo>> GetProjectFileInfosAsync(CancellationToken cancellationToken) 55return [ProjectFileInfo.CreateEmpty(Language, _loadedProject?.FullPath)]; 72var results = new FixedSizeArrayBuilder<ProjectFileInfo>(targetFrameworks.Length); 78var projectFileInfo = await BuildProjectFileInfoAsync(cancellationToken).ConfigureAwait(false); 98var projectFileInfo = await BuildProjectFileInfoAsync(cancellationToken).ConfigureAwait(false); 99projectFileInfo ??= ProjectFileInfo.CreateEmpty(Language, _loadedProject?.FullPath); 104private async Task<ProjectFileInfo> BuildProjectFileInfoAsync(CancellationToken cancellationToken) 108return ProjectFileInfo.CreateEmpty(Language, _loadedProject?.FullPath); 115: ProjectFileInfo.CreateEmpty(Language, _loadedProject.FullPath); 118private ProjectFileInfo CreateProjectFileInfo(MSB.Execution.ProjectInstance project)
Rpc\Contracts\IProjectFile.cs (1)
17Task<ImmutableArray<ProjectFileInfo>> GetProjectFileInfosAsync(CancellationToken cancellationToken);
Rpc\Contracts\ProjectFileInfo.cs (1)
151public static ProjectFileInfo CreateEmpty(string language, string? filePath)