1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (1)
79ThreadingContext = threadingContext;
9 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (9)
SolutionExplorer\SymbolTree\RootSymbolTreeItemCollectionSource.cs (3)
50_rootProvider.ThreadingContext.ThrowIfNotOnUIThread(); 84await _rootProvider.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 90await _rootProvider.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (1)
93this.ThreadingContext.DisposalToken);
SolutionExplorer\SymbolTree\SymbolTreeChildCollection.cs (3)
71Contract.ThrowIfFalse(_rootProvider.ThreadingContext.JoinableTaskContext.IsOnMainThread); 121Contract.ThrowIfFalse(_rootProvider.ThreadingContext.JoinableTaskContext.IsOnMainThread); 134Contract.ThrowIfFalse(_rootProvider.ThreadingContext.JoinableTaskContext.IsOnMainThread);
SolutionExplorer\SymbolTree\SymbolTreeItem.cs (2)
52=> this.RootProvider.ThreadingContext.ThrowIfNotOnUIThread(); 112this.ItemKey.DocumentId, _itemSyntax.DeclarationNode, this.RootProvider.ThreadingContext.DisposalToken);