1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (1)
79
ThreadingContext
= threadingContext;
9 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (9)
SolutionExplorer\SymbolTree\RootSymbolTreeItemCollectionSource.cs (3)
50
_rootProvider.
ThreadingContext
.ThrowIfNotOnUIThread();
84
await _rootProvider.
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
90
await _rootProvider.
ThreadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (1)
93
this.
ThreadingContext
.DisposalToken);
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);