1 write to SelectionRange
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\CallHierarchy\CallHierarchyHelpers.cs (1)
57SelectionRange = ProtocolConversions.TextSpanToRange(selectionSpan, text),
8 references to SelectionRange
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (8)
CallHierarchy\CallHierarchyTests.cs (8)
43Assert.Equal(0, CompareRange(definition.Range, preparedItem.SelectionRange)); 82Assert.Equal(0, CompareRange(typeLocation.Range, constructorCall.To.SelectionRange)); 86Assert.Equal(0, CompareRange(methodLocation.Range, methodCall.To.SelectionRange)); 130Assert.Equal(0, CompareRange(firstCallerLocation.Range, firstCaller.From.SelectionRange)); 131Assert.Equal(0, CompareRange(secondCallerLocation.Range, secondCaller.From.SelectionRange)); 170Assert.Equal(0, CompareRange(testLspServer.GetLocations("method").Single().Range, methodCall.To.SelectionRange)); 171Assert.Equal(0, CompareRange(testLspServer.GetLocations("property").Single().Range, propertyCall.To.SelectionRange)); 172Assert.Equal(0, CompareRange(testLspServer.GetLocations("field").Single().Range, fieldCall.To.SelectionRange));