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