8 writes to Length
Microsoft.CodeAnalysis.Razor.Workspaces (8)
DocumentMapping\RazorEditService.cs (1)
339Length = mappedSpan.Length
DocumentMapping\RazorEditService_Methods.cs (2)
74Length = 0 116Length = 0
DocumentMapping\RazorEditService_UsingDirectives.cs (1)
115Length = 0
Extensions\LspExtensions_Range.cs (1)
17Length = textSpan.Length,
Extensions\LspExtensions_TextChange.cs (1)
18Length = textChange.Span.Length,
Extensions\TextSpanExtensions.cs (1)
28Length = span.Length
Protocol\RazorTextSpan.cs (1)
24Length = end - start,
4 references to Length
Microsoft.CodeAnalysis.Razor.Workspaces (3)
DocumentMapping\RazorEditService.cs (1)
225var 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!);