1 implementation of TryGetService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\LspServices.cs (1)
121public bool TryGetService(Type type, [NotNullWhen(true)] out object? service)
1 reference to TryGetService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\HandlerProvider.cs (1)
110if (!lspServices.TryGetService(handlerType, out var lspService))