1 write to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
AddImports\AbstractAddImportsPasteCommandHandler.cs (1)
50
_threadingContext
= threadingContext;
2 references to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (2)
AddImports\AbstractAddImportsPasteCommandHandler.cs (2)
143
_threadingContext
.ThrowIfNotOnUIThread();
176
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);