14 references to TryGetClientAsync
Microsoft.CodeAnalysis.Workspaces (14)
FindSymbols\Declarations\DeclarationFinder_SourceDeclarations.cs (2)
43
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
114
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\DependentTypeFinder_Remote.cs (1)
28
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolFinder_FindLiteralReferences.cs (1)
24
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolFinder_FindReferences_Current.cs (1)
44
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Remote\IRemoteKeepAliveService.cs (2)
56
var client = await RemoteHostClient.
TryGetClientAsync
(compilationState.Services, cancellationToken).ConfigureAwait(false);
116
var client = await RemoteHostClient.
TryGetClientAsync
(compilationState.Services, cancellationToken).ConfigureAwait(false);
Remote\RemoteHostClient.cs (2)
38
return
TryGetClientAsync
(project.Solution.Services, cancellationToken);
42
=>
TryGetClientAsync
(workspace.Services.SolutionServices, cancellationToken);
Rename\ConflictEngine\ConflictResolver.cs (1)
64
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Rename\LightweightRenameLocations.cs (1)
85
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Rename\Renamer.cs (1)
162
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
84
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (1)
131
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);