Describe the bug
In visual studio:
dotnet/roslyn#49220 introduced mapping of workspace edits. Attempting to map edits during code action resolve appears to hang in Razor here - https://github.com/dotnet/aspnetcore-tooling/blob/f433d3d6b7cd4111160b9be0440c8c6881052803/src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/CSharpSpanMappingService.cs#L74
The roslyn change to map workspace edits for code actions is being reverted, but we would like to re-enable it back.
To Reproduce
Build roslyn with the changes in dotnet/roslyn#49220 . Invoke the lightbulb in a C# block inside a razor file to add a @using in a C# block. Note that the preview does not show up and the code action is not working.
Exceptions (if any)
Further technical details
This is reproducible in VS 30723.73