1 implementation of IProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\ProjectFile\ProjectFile.cs (1)
24
IProjectFile
11 references to IProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (11)
Rpc\RemoteProjectFile.cs (11)
25
var diagnostics = await _client.InvokeAsync<DiagnosticLogItem[]>(_remoteProjectFileTargetObject, nameof(
IProjectFile
.GetDiagnosticLogItems), parameters: [], cancellationToken).ConfigureAwait(false);
31
var projectFileInfos = await _client.InvokeAsync<ProjectFileInfo[]>(_remoteProjectFileTargetObject, nameof(
IProjectFile
.GetProjectFileInfosAsync), parameters: [], cancellationToken).ConfigureAwait(false);
36
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddDocument), parameters: [filePath, logicalPath], cancellationToken);
39
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveDocument), parameters: [filePath], cancellationToken);
42
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddMetadataReference), parameters: [metadataReferenceIdentity, aliases.ToArray(), hintPath], cancellationToken);
45
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveMetadataReference), parameters: [shortAssemblyName, fullAssemblyName, filePath], cancellationToken);
48
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddProjectReference), parameters: [projectName, projectFileReference], cancellationToken);
51
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveProjectReference), parameters: [projectName, projectFilePath], cancellationToken);
54
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.AddAnalyzerReference), parameters: [fullPath], cancellationToken);
57
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.RemoveAnalyzerReference), parameters: [fullPath], cancellationToken);
60
=> _client.InvokeAsync(_remoteProjectFileTargetObject, nameof(
IProjectFile
.Save), parameters: [], cancellationToken);