1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (1)
65
_threadingContext
= threadingContext;
11 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (11)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (11)
77
var menuCommandService = await serviceProvider.GetServiceAsync<IMenuCommandService, IMenuCommandService>(
_threadingContext
.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false);
80
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
179
var roslynPackage =
_threadingContext
.JoinableTaskFactory.Run(() =>
181
return RoslynPackage.GetOrLoadAsync(
_threadingContext
, (IAsyncServiceProvider)_serviceProvider,
_threadingContext
.DisposalToken).AsTask();
249
|| !_serviceProvider.TryGetService<SVsShell, IVsShell>(
_threadingContext
.JoinableTaskFactory, out var shell))
254
var roslynPackage =
_threadingContext
.JoinableTaskFactory.Run(() =>
256
return RoslynPackage.GetOrLoadAsync(
_threadingContext
, (IAsyncServiceProvider)_serviceProvider,
_threadingContext
.DisposalToken).AsTask();
327
_threadingContext
.JoinableTaskFactory.RunAsync(async () =>
335
? new StatusBarUpdater(statusBar,
_threadingContext
, projectOrSolutionName, (uint)totalProjectCount)