2 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\SelectionRanges\SelectionRangeHandler.cs (2)
77Range = ProtocolConversions.TextSpanToRange(spans[i], text), 83return current ?? new SelectionRange { Range = ProtocolConversions.TextSpanToRange(new TextSpan(position, 0), text) };
5 references to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
SelectionRanges\SelectionRangesTests.cs (5)
203chain.Add(current.Range); 240ContainsOrEquals(current.Parent.Range, current.Range), 241$"Parent range {current.Parent.Range} should contain child range {current.Range}");