4 references to ToTextChange
Microsoft.CodeAnalysis.Razor.Workspaces (3)
DocumentMapping\IRazorEditServiceExtensions.cs (1)
27
return mappedChanges.SelectAsArray(static c => c.
ToTextChange
());
DocumentMapping\RazorEditService.cs (1)
59
var newCSharpSourceText = originalCSharpSourceText.WithChanges(skippedEdits.Select(static c => c.
ToTextChange
()));
Formatting\Passes\CSharpOnTypeFormattingPass.cs (1)
114
var filteredChanges = FilterCSharpTextChanges(context, mappedChanges.SelectAsArray(static e => e.
ToTextChange
()));
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
Cohost\Formatting\FormattingLogTest.cs (1)
86
htmlEdits = htmlChanges.Select(c => sourceText.GetTextEdit(c.
ToTextChange
())).ToArray();