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)
68
var menuCommandService = await serviceProvider.GetServiceAsync<IMenuCommandService, IMenuCommandService>(
_threadingContext
.JoinableTaskFactory, throwOnFailure: false).ConfigureAwait(false);
71
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
134
if (dialog.ShowModal(
_threadingContext
.JoinableTaskFactory, solution, projectFilePath, referenceUpdates) == false)
160
ApplyUnusedReferenceUpdates(
_threadingContext
.JoinableTaskFactory, solution, projectFilePath, referenceChanges, CancellationToken.None);
191
var unusedReferences =
_threadingContext
.JoinableTaskFactory.Run(async () =>