6 references to GetTextSpan
Microsoft.CodeAnalysis.Razor.Workspaces (4)
Extensions\SourceTextExtensions.cs (1)
262=> text.GetTextSpan(span.Start, span.End);
Formatting\Passes\RazorFormattingPass.cs (3)
418changes.Add(new TextChange(source.Text.GetTextSpan(openBraceRange.End, end), newText)); 448changes.Add(new TextChange(source.Text.GetTextSpan(codeRange.End, start), context.NewLineString + additionalIndentation)); 458changes.Add(new TextChange(source.Text.GetTextSpan(closeBraceRange.End, closeBraceRange.End), context.NewLineString));
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (2)
Cohost\CohostRoslynRenameTest.cs (1)
256var span = sourceText.GetTextSpan(csharpPosition, csharpPosition);
Cohost\RazorRefactorNotifyServiceTest.cs (1)
145var span = sourceText.GetTextSpan(csharpPosition, csharpPosition);