7 writes to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Extensions\ProtocolConversions.cs (3)
367
Range
= location.Range,
486
Range
= MappedSpanResultToRange(mappedSpan)
516
Range
= TextSpanToRange(span, text),
Extensions\ProtocolConversions.Diagnostics.cs (1)
84
Range
= GetRange(l),
Handler\Definitions\AbstractGoToDefinitionHandler.cs (1)
92
Range
= ProtocolConversions.LinePositionToRange(linePosSpan),
Handler\References\FindUsagesLSPContext.cs (1)
279
Range
= ProtocolConversions.LinePositionToRange(linePosSpan),
Handler\Symbols\DocumentSymbolsHandler.cs (1)
99
Range
= ProtocolConversions.TextSpanToRange(symbolItem.Location.InDocumentInfo.Value.navigationSpan, text),
4 references to Range
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\MapCode\MapCodeHandler.cs (1)
134
builder.Add((document, ProtocolConversions.RangeToTextSpan(location.
Range
, focusText)));
Protocol\Location.cs (3)
50
EqualityComparer<Range>.Default.Equals(this.
Range
, other.
Range
);
58
hashCode = (hashCode * -1521134295) + EqualityComparer<Range>.Default.GetHashCode(this.
Range
);