5 references to GetRequiredService
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\RazorCohostRequestContext.cs (1)
24
internal T GetRequiredService<T>() where T : class => context.
GetRequiredService
<T>();
RazorRequestContext.cs (1)
22
internal T GetRequiredService<T>() where T : class => context.
GetRequiredService
<T>();
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\InlayHint\InlayHintResolveHandler.cs (1)
36
var inlayHintCache = context.
GetRequiredService
<InlayHintCache>();
Handler\WorkspaceCommand\ExecuteWorkspaceCommandHandler.cs (2)
32
var handlerProvider = context.
GetRequiredService
<AbstractHandlerProvider>();
33
var lspServices = context.
GetRequiredService
<ILspServices>();