1 type derived from Hover
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\VSInternalHover.cs (1)
12internal sealed class VSInternalHover : Hover
1 instantiation of Hover
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Hover\HoverHandler.cs (1)
143return new Hover
32 references to Hover
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\Hover.cs (1)
16public static Task<LSP.Hover?> GetHoverAsync(
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\Hover\HoverHandler.cs (6)
26internal sealed class HoverHandler : ILspServiceDocumentRequestHandler<TextDocumentPositionParams, Hover?> 42public Task<Hover?> HandleRequestAsync(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken) 55internal static Task<Hover?> GetHoverAsync( 68internal static async Task<Hover?> GetHoverAsync( 86private static async Task<Hover?> GetHoverAsync( 132private static async Task<Hover> CreateDefaultHoverAsync(
Protocol\HoverSetting.cs (1)
19/// instance in <see cref="Hover.Contents"/>.
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
42AddOrReplaceConverter<Hover, VSInternalHover>();
Protocol\Methods.Document.cs (1)
26public static readonly LspRequest<HoverParams, Hover> TextDocumentHover = new(TextDocumentHoverName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (20)
Hover\HoverTests.cs (18)
39var results = await RunGetHoverAsync(testLspServer, expectedLocation).ConfigureAwait(false); 63var results = await RunGetHoverAsync(testLspServer, expectedLocation).ConfigureAwait(false); 86var results = await RunGetHoverAsync(testLspServer, expectedLocation).ConfigureAwait(false); 114var results = await RunGetHoverAsync(testLspServer, expectedLocation).ConfigureAwait(false); 136var results = await RunGetHoverAsync(testLspServer, testLspServer.GetLocations("caret").Single()).ConfigureAwait(false); 188var result = await RunGetHoverAsync(testLspServer, location, project.Id); 239var results = await RunGetHoverAsync( 306var results = await RunGetHoverAsync( 363var results = await RunGetHoverAsync( 404var results = await RunGetHoverAsync( 438var results = await RunGetHoverAsync( 473var results = await RunGetHoverAsync( 502var results = await RunGetHoverAsync( 548var result = await RunGetHoverAsync(testLspServer, location, project.Id); 588var results = await RunGetHoverAsync( 603private static async Task<LSP.Hover> RunGetHoverAsync( 608return await testLspServer.ExecuteRequestAsync<LSP.TextDocumentPositionParams, LSP.Hover>(LSP.Methods.TextDocumentHoverName, 612private static void VerifyVSContent(LSP.Hover hover, string expectedContent)
Workspaces\SourceGeneratedDocumentTests.cs (2)
96var hover = await testLspServer.ExecuteRequestAsync<LSP.TextDocumentPositionParams, LSP.Hover>(LSP.Methods.TextDocumentHoverName,
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Hover\HoverHandler.cs (2)
27internal sealed class HoverHandler : ILspServiceRequestHandler<TextDocumentPositionParams, Hover?> 43public async Task<Hover?> HandleRequestAsync(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)