1 write to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActions\SuggestedAction.cs (1)
62ThreadingContext = threadingContext;
12 references to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures.Wpf (12)
Suggestions\Copilot\FlavoredSuggestedAction.cs (1)
41suggestedAction.ThreadingContext,
Suggestions\PreviewChanges\PreviewChangesSuggestedAction.cs (1)
35suggestedAction.ThreadingContext,
Suggestions\RefineUsingCopilot\RefineUsingCopilotSuggestedAction.cs (1)
60suggestedAction.ThreadingContext,
Suggestions\SuggestedActions\AbstractFixAllSuggestedAction.cs (1)
59await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
Suggestions\SuggestedActions\SuggestedAction.cs (4)
137await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 149await this.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 163this.ThreadingContext.ThrowIfNotOnUIThread(); 230await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
Suggestions\SuggestedActionWithNestedFlavors.cs (4)
71this.ThreadingContext.ThrowIfNotOnUIThread(); 148this.ThreadingContext.ThrowIfNotOnUIThread(); 174this.ThreadingContext.ThrowIfNotOnUIThread(); 182this.ThreadingContext.ThrowIfNotOnUIThread();