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