1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
UnusedReferences\RemoveUnusedReferencesCommandHandler.cs (1)
54_threadingContext = threadingContext;
5 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (5)
UnusedReferences\RemoveUnusedReferencesCommandHandler.cs (5)
68var menuCommandService = await serviceProvider.GetServiceAsync<IMenuCommandService, IMenuCommandService>(_threadingContext.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false); 71await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 134if (dialog.ShowModal(_threadingContext.JoinableTaskFactory, solution, projectFilePath, referenceUpdates) == false) 160ApplyUnusedReferenceUpdates(_threadingContext.JoinableTaskFactory, solution, projectFilePath, referenceChanges, CancellationToken.None); 191var unusedReferences = _threadingContext.JoinableTaskFactory.Run(async () =>