Skip to content

Commit e3f3ac9

Browse files
Move ICodeFixService back to Features layer (#78132)
2 parents e2700e8 + 9021762 commit e3f3ac9

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

src/LanguageServer/Protocol/Features/CodeFixes/CodeFixService.cs renamed to src/Features/Core/Portable/CodeFixes/Service/CodeFixService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
using Microsoft.CodeAnalysis.Shared.Utilities;
2929
using Microsoft.CodeAnalysis.Telemetry;
3030
using Microsoft.CodeAnalysis.Text;
31-
using Microsoft.VisualStudio.Threading;
31+
using Microsoft.CodeAnalysis.Threading;
3232
using Roslyn.Utilities;
3333

3434
namespace Microsoft.CodeAnalysis.CodeFixes;
@@ -157,7 +157,7 @@ public CodeFixService(
157157
CancellationToken cancellationToken)
158158
{
159159
// Ensure we yield here so the caller can continue on.
160-
await TaskScheduler.Default.SwitchTo(alwaysYield: true);
160+
await Task.Yield().ConfigureAwait(false);
161161

162162
await foreach (var collection in StreamFixesAsync(
163163
document, spanToDiagnostics, fixAllForInSpan: false,

0 commit comments

Comments
 (0)