2 instantiations of RemoteKeepAliveSession
Microsoft.CodeAnalysis.Workspaces (2)
Remote\IRemoteKeepAliveService.cs (2)
78var session = new RemoteKeepAliveSession(); 250=> new(solution.CompilationState, listener);
28 references to RemoteKeepAliveSession
Microsoft.CodeAnalysis.EditorFeatures (8)
Copilot\CopilotWpfTextCreationListener.cs (2)
114using var _1 = await RemoteKeepAliveSession.CreateAsync(solution, cancellationToken).ConfigureAwait(false);
Copilot\RoslynProposalAdjusterProvider.cs (2)
189using var _1 = await RemoteKeepAliveSession.CreateAsync(solution, cancellationToken).ConfigureAwait(false);
InlineRename\InlineRenameSession.cs (2)
104private readonly RemoteKeepAliveSession _keepAliveSession; 186_keepAliveSession = RemoteKeepAliveSession.Create(_baseSolution, asyncListener);
Suggestions\SuggestedActionsSource_Async.cs (2)
93using var _1 = await RemoteKeepAliveSession.CreateAsync(document.Project.Solution, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (2)
NavigateTo\NavigateToSearcher.cs (2)
247using var _2 = await RemoteKeepAliveSession.CreateAsync(_solution, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (18)
CodeActions\CodeAction_Cleanup.cs (2)
185using var _ = await RemoteKeepAliveSession.CreateAsync(solution, cancellationToken).ConfigureAwait(false);
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (2)
32using var _ = await RemoteKeepAliveSession.CreateAsync(fixAllContext.State.Solution, fixAllContext.CancellationToken).ConfigureAwait(false);
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (2)
65using var _ = await RemoteKeepAliveSession.CreateAsync(originalSolution, cancellationToken).ConfigureAwait(false);
Remote\IRemoteKeepAliveService.cs (10)
72private static async Task<RemoteKeepAliveSession> StartSessionAsync( 78var session = new RemoteKeepAliveSession(); 103RemoteKeepAliveSession session) 136RemoteKeepAliveSession session, 188var token = listener.BeginAsyncOperation(nameof(RemoteKeepAliveSession)); 249public static RemoteKeepAliveSession Create(Solution solution, IAsynchronousOperationListener listener) 260public static Task<RemoteKeepAliveSession> CreateAsync(Solution solution, CancellationToken cancellationToken) 264public static Task<RemoteKeepAliveSession> CreateAsync(Solution solution, ProjectId? projectId, CancellationToken cancellationToken) 268public static Task<RemoteKeepAliveSession> CreateAsync(SolutionCompilationState compilationState, CancellationToken cancellationToken) 272public static async Task<RemoteKeepAliveSession> CreateAsync(
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
124using var _ = await RemoteKeepAliveSession.CreateAsync(