1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
TableDataSource\Suppression\VisualStudioDiagnosticListTableCommandHandler.cs (1)
60
_threadingContext
= threadingContext;
4 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (4)
TableDataSource\Suppression\VisualStudioDiagnosticListTableCommandHandler.cs (4)
72
var errorList = await serviceProvider.GetServiceAsync<SVsErrorList, IErrorList>(
_threadingContext
.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false);
76
var menuCommandService = await serviceProvider.GetServiceAsync<IMenuCommandService, IMenuCommandService>(
_threadingContext
.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false);
79
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
93
Contract.ThrowIfFalse(
_threadingContext
.HasMainThread);