1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineControl.xaml.cs (1)
96_threadingContext = threadingContext;
14 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (14)
DocumentOutline\DocumentOutlineControl.xaml.cs (7)
52_threadingContext.ThrowIfNotOnUIThread(); 57_threadingContext.ThrowIfNotOnUIThread(); 158_threadingContext.ThrowIfNotOnUIThread(); 168_threadingContext.ThrowIfNotOnUIThread(); 174_threadingContext.ThrowIfNotOnUIThread(); 191_threadingContext.ThrowIfNotOnUIThread(); 246_threadingContext.ThrowIfNotOnUIThread();
DocumentOutline\DocumentOutlineControl_ModelComputation.cs (7)
46await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 92_threadingContext.ThrowIfNotOnUIThread(); 122await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 161await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 171var documentSymbolUIItems = DocumentOutlineHelper.GetDocumentSymbolUIItems(model.DocumentSymbolData, _threadingContext); 179await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 205_threadingContext.ThrowIfNotOnUIThread();