2 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,
8 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.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (1)
81GetSymbolRangeSpan(symbol.Range),