4 writes to To
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\CallHierarchy\CallHierarchyOutgoingCallsHandler.cs (1)
58To = toItem,
Microsoft.CodeAnalysis.Remote.Razor (1)
Microsoft.VisualStudio.LanguageServices.Razor (1)
Microsoft.VisualStudioCode.RazorExtension (1)
21 references to To
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (12)
CallHierarchy\CallHierarchyTests.cs (12)
75var constructorCall = Assert.Single(outgoingCalls, static call => call.To.Name == "C.C()");
76var methodCall = Assert.Single(outgoingCalls, static call => call.To.Name == "C.M()");
81Assert.Equal(typeLocation.DocumentUri, constructorCall.To.Uri);
82Assert.Equal(0, CompareRange(typeLocation.Range, constructorCall.To.SelectionRange));
85Assert.Equal(methodLocation.DocumentUri, methodCall.To.Uri);
86Assert.Equal(0, CompareRange(methodLocation.Range, methodCall.To.SelectionRange));
166var methodCall = Assert.Single(outgoingCalls, static call => call.To.Name == "C.M()");
167var propertyCall = Assert.Single(outgoingCalls, static call => call.To.Name == "C.P");
168var fieldCall = Assert.Single(outgoingCalls, static call => call.To.Name == "C.F");
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));
Microsoft.CodeAnalysis.Remote.Razor (1)
Microsoft.VisualStudio.LanguageServices.Razor (1)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (3)
Microsoft.VisualStudioCode.RazorExtension (1)
Microsoft.VisualStudioCode.RazorExtension.UnitTests (3)