1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
SyncNamespaces\SyncNamespacesCommandHandler.cs (1)
49_threadingContext = threadingContext;
3 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (3)
SyncNamespaces\SyncNamespacesCommandHandler.cs (3)
59var menuCommandService = await serviceProvider.GetServiceAsync<IMenuCommandService, IMenuCommandService>(_threadingContext.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false); 62await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 141solution = _threadingContext.JoinableTaskFactory.Run(() => syncService.SyncNamespacesAsync(projects, options, operationContext.UserCancellationToken));