1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices (1)
SymbolSearch\AbstractDelayStartedService.cs (1)
60ThreadingContext = threadingContext;
9 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices (9)
Packaging\PackageInstallerServiceFactory.cs (6)
164await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(DisposalToken); 272await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 350await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 364await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 411await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 681this.ThreadingContext.ThrowIfNotOnUIThread();
Packaging\PackageInstallerServiceFactory_UndoRedo.cs (2)
29await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 49await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
SymbolSearch\AbstractDelayStartedService.cs (1)
46protected CancellationToken DisposalToken => ThreadingContext.DisposalToken;