13 references to InvokeAsync
Microsoft.CodeAnalysis.Workspaces.MSBuild (13)
Rpc\RemoteBuildHost.cs (2)
46
=> _client.
InvokeAsync
(BuildHostTargetObject, nameof(IBuildHost.ConfigureGlobalState), parameters: [knownCommandLineParserLanguages.ToArray(), new Dictionary<string, string>(globalProperties), binlogPath, maxNodeCount], cancellationToken);
79
=> _client.
InvokeAsync
(BuildHostTargetObject, nameof(IBuildHost.ShutdownAsync), parameters: [], cancellationToken);
Rpc\RemoteProjectFile.cs (10)
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);
Rpc\RemoteProjectInstance.cs (1)
43
=> await _client.
InvokeAsync
(_remoteProjectInstanceTargetObject, nameof(IProjectInstance.Dispose), parameters: [], CancellationToken.None).ConfigureAwait(false);