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