10 references to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (10)
Suggestions\SuggestedActions\EditorSuggestedAction.cs (5)
122await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 134await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 148this.ThreadingContext.ThrowIfNotOnUIThread(); 216await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 320=> new TrivialSuggestedAction(action.ThreadingContext, action.SourceProvider, action.OriginalSolution, action.SubjectBuffer, action.Provider, codeAction);
Suggestions\SuggestedActions\EditorSuggestedActionForRefactorOrFixAll.cs (1)
52await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
Suggestions\SuggestedActions\EditorSuggestedActionWithNestedFlavors.cs (4)
64this.ThreadingContext.ThrowIfNotOnUIThread(); 157this.ThreadingContext.ThrowIfNotOnUIThread(); 183this.ThreadingContext.ThrowIfNotOnUIThread(); 191this.ThreadingContext.ThrowIfNotOnUIThread();