25 references to RoslynLspLanguagesContract
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (4)
Cohost\ExportCohostLspServiceFactoryAttribute.cs (1)
12internal class ExportCohostLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer);
Cohost\ExportCohostStatelessLspServiceAttribute.cs (1)
12internal sealed class ExportCohostStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer);
ExportRazorLspServiceFactoryAttribute.cs (1)
12internal class ExportRazorLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
ExportRazorStatelessLspServiceAttribute.cs (1)
12internal sealed class ExportRazorStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
Microsoft.CodeAnalysis.ExternalAccess.Xaml (3)
External\ExportXamlLspServiceFactoryAttribute.cs (2)
19: base(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind) 24: base(type, ProtocolConstants.RoslynLspLanguagesContract)
External\ExportXamlStatelessLspServiceAttribute.cs (1)
17public ExportXamlStatelessLspServiceAttribute(Type handlerType) : base(handlerType, ProtocolConstants.RoslynLspLanguagesContract)
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\Razor\RazorClientLanguageServerManagerFactory.cs (1)
12[ExportLspServiceFactory(typeof(IRazorClientLanguageServerManager), ProtocolConstants.RoslynLspLanguagesContract)]
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
15: ExportLspServiceFactoryAttribute(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind);
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (1)
12: ExportStatelessLspServiceAttribute(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind);
LspServices\RoslynLspServiceProvider.cs (2)
16[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices, 17[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> lspServiceFactories)
WellKnownLspServerKinds.cs (4)
97WellKnownLspServerKinds.RazorLspServer => ProtocolConstants.RoslynLspLanguagesContract, 98WellKnownLspServerKinds.LiveShareLspServer => ProtocolConstants.RoslynLspLanguagesContract, 99WellKnownLspServerKinds.AlwaysActiveVSLspServer => ProtocolConstants.RoslynLspLanguagesContract, 100WellKnownLspServerKinds.CSharpVisualBasicLspServer => ProtocolConstants.RoslynLspLanguagesContract,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (9)
LspServicesTests.cs (9)
96[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 101[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 106[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 111[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 116[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 121[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 126[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 131[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 136[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer), Shared]