14 references to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (14)
Classification\Syntactic\SyntacticClassificationTaggerProvider.cs (1)
29ThreadingContext.ThrowIfNotOnUIThread();
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (13)
110_lineCache = new ClassifiedLineCache(taggerProvider.ThreadingContext); 124taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 174await _taggerProvider.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(_disposalCancellationSource.Token); 202_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 208_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 226_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 238_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 410_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 418_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 440_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 468_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 482_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 522_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread();