1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (1)
85
ThreadingContext
= threadingContext;
10 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (10)
SolutionExplorer\SymbolTree\RootSymbolTreeItemCollectionSource.cs (3)
51
_rootProvider.
ThreadingContext
.ThrowIfNotOnUIThread();
85
await _rootProvider.
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
91
await _rootProvider.
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (2)
99
this.
ThreadingContext
.DisposalToken);
188
var settingsManager = _serviceProvider.GetService<SVsUnifiedSettingsManager, ISettingsManager>(
ThreadingContext
.JoinableTaskFactory);
SolutionExplorer\SymbolTree\SymbolTreeChildCollection.cs (3)
71
Contract.ThrowIfFalse(_rootProvider.
ThreadingContext
.JoinableTaskContext.IsOnMainThread);
121
Contract.ThrowIfFalse(_rootProvider.
ThreadingContext
.JoinableTaskContext.IsOnMainThread);
134
Contract.ThrowIfFalse(_rootProvider.
ThreadingContext
.JoinableTaskContext.IsOnMainThread);
SolutionExplorer\SymbolTree\SymbolTreeItem.cs (2)
52
=> this.RootProvider.
ThreadingContext
.ThrowIfNotOnUIThread();
112
this.ItemKey.DocumentId, _itemSyntax.DeclarationNode, this.RootProvider.
ThreadingContext
.DisposalToken);