1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices (1)
SymbolSearch\AbstractDelayStartedService.cs (1)
60ThreadingContext = threadingContext;
11 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices (11)
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;
SymbolSearch\VisualStudioSymbolSearchService.cs (2)
102await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 121var cancellationToken = ThreadingContext.DisposalToken;