1 write to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (1)
85ThreadingContext = threadingContext;
10 references to ThreadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (10)
SolutionExplorer\SymbolTree\RootSymbolTreeItemCollectionSource.cs (3)
51_rootProvider.ThreadingContext.ThrowIfNotOnUIThread(); 85await _rootProvider.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 91await _rootProvider.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
SolutionExplorer\SymbolTree\RootSymbolTreeItemSourceProvider.cs (2)
99this.ThreadingContext.DisposalToken); 188var settingsManager = _serviceProvider.GetService<SVsUnifiedSettingsManager, ISettingsManager>(ThreadingContext.JoinableTaskFactory);
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);