20 references to TryGetClientAsync
Microsoft.CodeAnalysis.Features (15)
AddImport\AbstractAddImportFeatureService.cs (2)
62
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
513
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.cs (2)
29
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
62
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
41
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
FullyQualify\AbstractFullyQualifyService.cs (1)
43
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.CachedDocumentSearch.cs (1)
70
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.GeneratedDocumentSearch.cs (1)
28
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (2)
32
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
68
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
NavigationBar\AbstractNavigationBarItemService.cs (1)
23
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
Shared\Utilities\CompilationAvailableEventSource.cs (1)
77
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
TaskList\AbstractTaskListService.cs (1)
33
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
ValueTracking\ValueTrackingService.cs (2)
34
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
65
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.InProcOrRemoteHostAnalyzerRunner.cs (1)
75
var remoteHostClient = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (4)
Classification\AbstractClassificationService.cs (1)
67
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
37
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
FindSymbols\Declarations\DeclarationFinder_SourceDeclarations.cs (2)
83
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
149
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);