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)
72var errorList = await serviceProvider.GetServiceAsync<SVsErrorList, IErrorList>(_threadingContext.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false); 76var menuCommandService = await serviceProvider.GetServiceAsync<IMenuCommandService, IMenuCommandService>(_threadingContext.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false); 79await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 93Contract.ThrowIfFalse(_threadingContext.HasMainThread);