1 write to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\ModelComputation.cs (1)
54ThreadingContext = threadingContext;
15 references to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (15)
IntelliSense\ModelComputation.cs (6)
68ThreadingContext.ThrowIfNotOnUIThread(); 77ThreadingContext.ThrowIfNotOnUIThread(); 90ThreadingContext.ThrowIfNotOnUIThread(); 103ThreadingContext.ThrowIfNotOnUIThread(); 127await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, _stopCancellationToken); 160this.ThreadingContext.ThrowIfNotOnUIThread();
IntelliSense\Session.cs (3)
42Computation.ThreadingContext.ThrowIfNotOnUIThread(); 49Computation.ThreadingContext.ThrowIfNotOnUIThread(); 57Computation.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller.Session.cs (2)
23this.Computation.ThreadingContext.ThrowIfNotOnUIThread(); 30this.Computation.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller.Session_ComputeModel.cs (2)
31this.Computation.ThreadingContext.ThrowIfNotOnUIThread(); 55this.Computation.ThreadingContext.ThrowIfNotOnBackgroundThread();
SignatureHelp\Controller.Session_SetModelSelectedItem.cs (2)
18this.Computation.ThreadingContext.ThrowIfNotOnUIThread(); 29this.Computation.ThreadingContext.ThrowIfNotOnBackgroundThread();