2 instantiations of ProjectFileInfo
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\ProjectFile\ProjectFile.cs (1)
184
return 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
51
public async Task<ImmutableArray<
ProjectFileInfo
>> GetProjectFileInfosAsync(CancellationToken cancellationToken)
55
return [
ProjectFileInfo
.CreateEmpty(Language, _loadedProject?.FullPath)];
72
var results = new FixedSizeArrayBuilder<
ProjectFileInfo
>(targetFrameworks.Length);
78
var
projectFileInfo = await BuildProjectFileInfoAsync(cancellationToken).ConfigureAwait(false);
98
var
projectFileInfo = await BuildProjectFileInfoAsync(cancellationToken).ConfigureAwait(false);
99
projectFileInfo ??=
ProjectFileInfo
.CreateEmpty(Language, _loadedProject?.FullPath);
104
private async Task<
ProjectFileInfo
> BuildProjectFileInfoAsync(CancellationToken cancellationToken)
108
return
ProjectFileInfo
.CreateEmpty(Language, _loadedProject?.FullPath);
115
:
ProjectFileInfo
.CreateEmpty(Language, _loadedProject.FullPath);
118
private
ProjectFileInfo
CreateProjectFileInfo(MSB.Execution.ProjectInstance project)
Rpc\Contracts\IProjectFile.cs (1)
17
Task<ImmutableArray<
ProjectFileInfo
>> GetProjectFileInfosAsync(CancellationToken cancellationToken);
Rpc\Contracts\ProjectFileInfo.cs (1)
151
public static
ProjectFileInfo
CreateEmpty(string language, string? filePath)