private void ServerOptionsAction(LanguageServerOptions obj) { obj.OnMoniker( _request, (_, _) => new MonikerRegistrationOptions() { DocumentSelector = DocumentSelector.ForLanguage("csharp"), } ); }