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