1 implementation of RunWithShutdownBlockAsync
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\ThreadingContext.cs (1)
65
public JoinableTask
RunWithShutdownBlockAsync
(Func<CancellationToken, Task> func)
6 references to RunWithShutdownBlockAsync
Microsoft.VisualStudio.LanguageServices (5)
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
1510
_threadingContext.
RunWithShutdownBlockAsync
(async cancellationToken =>
Snippets\AbstractSnippetInfoService.cs (2)
57
_threadingContext.
RunWithShutdownBlockAsync
((_) => InitializeAndPopulateSnippetsCacheAsync(serviceProvider));
79
_threadingContext.
RunWithShutdownBlockAsync
((_) => PopulateSnippetCacheAsync());
TableDataSource\VisualStudioDiagnosticListTable.cs (1)
56
_threadingContext.
RunWithShutdownBlockAsync
(async cancellationToken =>
Workspace\VisualStudioActiveDocumentTracker.cs (1)
55
ThreadingContext.
RunWithShutdownBlockAsync
(async cancellationToken =>
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\ProjectCodeModelFactory.cs (1)
231
_ = _threadingContext.
RunWithShutdownBlockAsync
(async cancellationToken =>