1 implementation of IProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\ProjectFile\ProjectFile.cs (1)
25
IProjectFile
12 references to IProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (12)
Rpc\RemoteProjectFile.cs (12)
26
var diagnostics = await _client.InvokeAsync<DiagnosticLogItem[]>(_remoteProjectFileTargetObject, nameof(
IProjectFile
.GetDiagnosticLogItems), parameters: [], cancellationToken).ConfigureAwait(false);
32
var projectFileInfos = await _client.InvokeAsync<ProjectFileInfo[]>(_remoteProjectFileTargetObject, nameof(
IProjectFile
.GetProjectFileInfosAsync), parameters: [], cancellationToken).ConfigureAwait(false);
37
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddDocument), parameters: [filePath, logicalPath], cancellationToken);
40
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveDocument), parameters: [filePath], cancellationToken);
43
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddMetadataReference), parameters: [metadataReferenceIdentity, aliases.ToArray(), hintPath], cancellationToken);
46
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveMetadataReference), parameters: [shortAssemblyName, fullAssemblyName, filePath], cancellationToken);
49
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddProjectReference), parameters: [projectName, projectFileReference], cancellationToken);
52
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveProjectReference), parameters: [projectName, projectFilePath], cancellationToken);
55
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddAnalyzerReference), parameters: [fullPath], cancellationToken);
58
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveAnalyzerReference), parameters: [fullPath], cancellationToken);
61
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.Save), parameters: [], cancellationToken);
64
=> await _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.Dispose), parameters: [], CancellationToken.None).ConfigureAwait(false);