10 writes to EndLine
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\FoldingRanges\FoldingRangesHandler.cs (2)
122EndLine = linePositionSpan.End.Line, 172EndLine = adjustedEndLine,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
FoldingRanges\FoldingRangesTests.cs (1)
184EndLine = range.End.Line,
Microsoft.CodeAnalysis.Razor.Workspaces (5)
Extensions\LspFactory.cs (1)
237EndLine = linePositionSpan.End.Line,
FoldingRanges\AbstractSyntaxNodeFoldingProvider.cs (1)
30EndLine = end.Line,
FoldingRanges\FoldingRangeService.cs (1)
45foldingRange.EndLine = mappedSpan.End.Line;
FoldingRanges\UsingsFoldingRangeProvider.cs (1)
30lastRange.EndLine = span.End.Line;
Protocol\Folding\RemoteFoldingRange.cs (1)
36EndLine = r.EndLine,
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
385EndLine = end.Line,
Microsoft.VisualStudioCode.RazorExtension.UnitTests (1)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
385EndLine = end.Line,
13 references to EndLine
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\FoldingRanges\FoldingRangesHandler.cs (1)
152var endLine = foldingRange.EndLine;
Microsoft.CodeAnalysis.Razor.Workspaces (10)
FoldingRanges\FoldingRangeService.cs (8)
71if (mappedRange.StartLine == mappedRange.EndLine) 91x.EndLine < y.EndLine) 102if (x.EndLine == y.EndLine && 117Debug.Assert(range.StartLine < range.EndLine); 126_logger.LogWarning($"Got a folding range of ({range.StartLine}-{range.EndLine}) but Razor document {codeDocument.Source.FilePath} only has {sourceText.Lines.Count} lines."); 149=> new(new(foldingRange.StartLine, foldingRange.StartCharacter.GetValueOrDefault()), new(foldingRange.EndLine, foldingRange.EndCharacter.GetValueOrDefault()));
FoldingRanges\UsingsFoldingRangeProvider.cs (1)
28if (lastRange.EndLine + 1 == span.Start.Line)
Protocol\Folding\RemoteFoldingRange.cs (1)
26r.EndLine,
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
414(index: inputText.GetRequiredAbsoluteIndex(r.EndLine, r.EndCharacter.AssumeNotNull()), isStart: false, r.Kind)
Microsoft.VisualStudioCode.RazorExtension.UnitTests (1)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
414(index: inputText.GetRequiredAbsoluteIndex(r.EndLine, r.EndCharacter.AssumeNotNull()), isStart: false, r.Kind)