8 writes to Length
Microsoft.CodeAnalysis.Razor.Workspaces (8)
DocumentMapping\RazorEditService.cs (1)
339
Length
= mappedSpan.Length
DocumentMapping\RazorEditService_Methods.cs (2)
74
Length
= 0
116
Length
= 0
DocumentMapping\RazorEditService_UsingDirectives.cs (1)
115
Length
= 0
Extensions\LspExtensions_Range.cs (1)
17
Length
= textSpan.Length,
Extensions\LspExtensions_TextChange.cs (1)
18
Length
= textChange.Span.Length,
Extensions\TextSpanExtensions.cs (1)
28
Length
= span.Length
Protocol\RazorTextSpan.cs (1)
24
Length
= end - start,
4 references to Length
Microsoft.CodeAnalysis.Razor.Workspaces (3)
DocumentMapping\RazorEditService.cs (1)
225
var spanEnd = spanStart + change.Span.
Length
;
Extensions\LspExtensions_SourceText.cs (1)
59
=> LspFactory.CreateTextEdit(text.GetRange(change.Span.Start, change.Span.Start + change.Span.
Length
), change.NewText ?? "");
Extensions\RazorTextSpanExtensions.cs (1)
11
=> new TextSpan(razorTextSpan.Start, razorTextSpan.
Length
);
Microsoft.VisualStudio.LanguageServices.Razor (1)
LanguageClient\Extensions\TextChangeExtensions.cs (1)
12
=> new VisualStudioTextChange(razorTextChange.Span.Start, razorTextChange.Span.
Length
, razorTextChange.NewText!);