1 implementation of RunWithShutdownBlockAsync
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ThreadingContext.cs (1)
65public JoinableTask RunWithShutdownBlockAsync(Func<CancellationToken, Task> func)
4 references to RunWithShutdownBlockAsync
Microsoft.VisualStudio.LanguageServices (4)
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
1601_threadingContext.RunWithShutdownBlockAsync(async cancellationToken =>
Snippets\AbstractSnippetInfoService.cs (2)
56_threadingContext.RunWithShutdownBlockAsync((_) => InitializeAndPopulateSnippetsCacheAsync(serviceProvider)); 78_threadingContext.RunWithShutdownBlockAsync((_) => PopulateSnippetCacheAsync());
Workspace\VisualStudioActiveDocumentTracker.cs (1)
56_threadingContext.RunWithShutdownBlockAsync(async cancellationToken =>