5 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Symbols\DocumentSymbolsHandler.cs (1)
114Range = ProtocolConversions.TextSpanToRange(fullSpan, text),
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Symbols\DocumentSymbolsTests.Hierarchical.cs (1)
847Range = testLspServer.GetLocations(rangeLocationName).Single().Range,
Microsoft.CodeAnalysis.Razor.Workspaces (2)
Protocol\DocumentSymbols\DocumentSymbolService.cs (2)
89documentSymbol.Range = LspFactory.DefaultRange; 97documentSymbol.Range = newRange;
Microsoft.CodeAnalysis.Remote.Razor (1)
DocumentSymbols\RemoteDocumentSymbolService.cs (1)
76Range = symbol.Range,
10 references to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\DocumentSymbol.cs (1)
88/// Must be contained by the <see cref="Range"/>.
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
Symbols\DocumentSymbolsTests.Hierarchical.cs (6)
806Assert.Equal(expected.Range, actual.Range); 810Assert.True(IsPositionBeforeOrEqual(actual.Range.Start, actual.SelectionRange.Start), 811$"SelectionRange start {actual.SelectionRange.Start} should be >= Range start {actual.Range.Start}"); 812Assert.True(IsPositionBeforeOrEqual(actual.SelectionRange.End, actual.Range.End), 813$"SelectionRange end {actual.SelectionRange.End} should be <= Range end {actual.Range.End}");
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Protocol\DocumentSymbols\DocumentSymbolService.cs (1)
94else if (_documentMappingService.TryMapToRazorDocumentRange(csharpDocument, documentSymbol.Range, out var newRange) &&
Microsoft.CodeAnalysis.Remote.Razor (1)
DocumentSymbols\RemoteDocumentSymbolService.cs (1)
76Range = symbol.Range,
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (1)
81GetSymbolRangeSpan(symbol.Range),