19 references to TryGetClientAsync
Microsoft.CodeAnalysis.Features (14)
AddImport\AbstractAddImportFeatureService.cs (2)
69
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
542
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.cs (2)
37
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
68
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
Copilot\ICopilotChangeAnalysisService.cs (1)
62
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
Diagnostics\Service\EngineV2\InProcOrRemoteHostAnalyzerRunner.cs (1)
68
var remoteHostClient = 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)
42
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (1)
36
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
NavigationBar\AbstractNavigationBarItemService.cs (1)
23
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
RelatedDocuments\AbstractRelatedDocumentsService.cs (1)
43
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
TaskList\AbstractTaskListService.cs (1)
31
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
ValueTracking\ValueTrackingService.cs (2)
33
var client = await RemoteHostClient.
TryGetClientAsync
(document.Project, cancellationToken).ConfigureAwait(false);
64
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (5)
Classification\AbstractClassificationService.cs (1)
75
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
Diagnostics\Extensions.cs (1)
513
var remoteHostClient = await RemoteHostClient.
TryGetClientAsync
(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)
81
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);
147
var client = await RemoteHostClient.
TryGetClientAsync
(project, cancellationToken).ConfigureAwait(false);