50 references to TryGetClientAsync
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Remote\RazorRemoteHostClient.cs (1)
28
var client = await RemoteHostClient.
TryGetClientAsync
(services.SolutionServices, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (27)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
224
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
EditAndContinue\Remote\RemoteDebuggingSessionProxy.cs (8)
25
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
40
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
63
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
87
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
102
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
116
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
132
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
154
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (3)
129
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
162
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
180
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
EncapsulateField\AbstractEncapsulateFieldService.cs (1)
119
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Extensions\ExtensionMessageHandlerService_RemoteOrLocal.cs (1)
51
var client = await RemoteHostClient.
TryGetClientAsync
(_solutionServices, cancellationToken).ConfigureAwait(false);
ExternalAccess\UnitTesting\API\UnitTestingSearchHelpers.cs (2)
31
var client = await RemoteHostClient.
TryGetClientAsync
(project.Solution.Services, cancellationToken).ConfigureAwait(false);
54
var client = await RemoteHostClient.
TryGetClientAsync
(project.Solution.Services, cancellationToken).ConfigureAwait(false);
FindUsages\AbstractFindUsagesService_FindImplementations.cs (1)
45
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
FindUsages\AbstractFindUsagesService_FindReferences.cs (1)
133
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
InheritanceMargin\AbstractInheritanceMarginService.cs (1)
38
var remoteClient = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.CachedDocumentSearch.cs (1)
82
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.GeneratedDocumentSearch.cs (1)
38
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (1)
164
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
NavigateTo\INavigateToSearcherHost.cs (1)
107
var client = await RemoteHostClient.
TryGetClientAsync
(_solution.Services, _disposalToken).ConfigureAwait(false);
SemanticSearch\IRemoteSemanticSearchService.cs (3)
119
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
134
var client = await RemoteHostClient.
TryGetClientAsync
(services, cancellationToken).ConfigureAwait(false);
144
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
StackTraceExplorer\StackTraceExplorerService.cs (1)
50
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.Workspaces (2)
ExternalAccess\Pythia\Api\PythiaRemoteHostClient.cs (1)
28
var client = await RemoteHostClient.
TryGetClientAsync
(services.SolutionServices, cancellationToken).ConfigureAwait(false);
ExternalAccess\UnitTesting\Api\UnitTestingRemoteHostClient.cs (1)
28
var client = await RemoteHostClient.
TryGetClientAsync
(services.SolutionServices, cancellationToken).ConfigureAwait(false);
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)
55
var client = await RemoteHostClient.
TryGetClientAsync
(compilationState.Services, cancellationToken).ConfigureAwait(false);
115
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)
63
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Rename\LightweightRenameLocations.cs (1)
84
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Rename\Renamer.cs (1)
160
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
86
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (1)
132
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices (5)
CodeLens\RemoteCodeLensReferencesService.cs (4)
51
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
97
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
122
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
260
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
UnusedReferences\UnusedReferenceAnalysisService.cs (1)
29
var client = await RemoteHostClient.
TryGetClientAsync
(solution.Services, cancellationToken).ConfigureAwait(false);
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\PerformanceLoggersPage.cs (1)
67
var client = threadingContext.JoinableTaskFactory.Run(() => RemoteHostClient.
TryGetClientAsync
(workspaceServices, CancellationToken.None));