43 references to RemoteHostClient
Microsoft.CodeAnalysis.Workspaces (43)
Classification\AbstractClassificationService.cs (3)
76
var
client = await
RemoteHostClient
.TryGetClientAsync(project, cancellationToken).ConfigureAwait(false);
111
RemoteHostClient
client,
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (2)
37
var
client = await
RemoteHostClient
.TryGetClientAsync(project, cancellationToken).ConfigureAwait(false);
FindSymbols\Declarations\DeclarationFinder_SourceDeclarations.cs (8)
43
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
81
var
client = await
RemoteHostClient
.TryGetClientAsync(project, cancellationToken).ConfigureAwait(false);
114
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
147
var
client = await
RemoteHostClient
.TryGetClientAsync(project, cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\DependentTypeFinder_Remote.cs (2)
28
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolFinder_FindLiteralReferences.cs (2)
24
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolFinder_FindReferences_Current.cs (2)
44
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
Remote\IRemoteHostClientProvider.cs (3)
12
/// Returns a <see cref="
RemoteHostClient
"/> that a user can use to communicate with a remote host (i.e. ServiceHub)
17
/// Get <see cref="
RemoteHostClient
"/> to current RemoteHost
19
Task<
RemoteHostClient
?> TryGetRemoteHostClientAsync(CancellationToken cancellationToken);
Remote\IRemoteKeepAliveService.cs (5)
31
RemoteHostClient
? client)
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 (5)
31
public static Task<
RemoteHostClient
?> TryGetClientAsync(Project project, CancellationToken cancellationToken)
35
return SpecializedTasks.Null<
RemoteHostClient
>();
41
public static Task<
RemoteHostClient
?> TryGetClientAsync(Workspace workspace, CancellationToken cancellationToken)
44
public static Task<
RemoteHostClient
?> TryGetClientAsync(SolutionServices services, CancellationToken cancellationToken)
49
return SpecializedTasks.Null<
RemoteHostClient
>();
Rename\ConflictEngine\ConflictResolver.cs (2)
64
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
Rename\LightweightRenameLocations.cs (2)
85
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
Rename\Renamer.cs (2)
162
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (1)
120
RemoteHostClient
? remoteHostClient = null;
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
84
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (2)
131
var
client = await
RemoteHostClient
.TryGetClientAsync(solution.Services, cancellationToken).ConfigureAwait(false);