2 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\SelectionRanges\SelectionRangeHandler.cs (2)
77
Range
= ProtocolConversions.TextSpanToRange(spans[i], text),
83
return 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)
203
chain.Add(current.
Range
);
240
ContainsOrEquals(current.Parent.
Range
, current.
Range
),
241
$"Parent range {current.Parent.
Range
} should contain child range {current.
Range
}");