18 references to Any
Microsoft.CodeAnalysis.LanguageServer (1)
LanguageServer\Handler\CopilotCompletion\CopilotCompletionResolveContextHandler.cs (1)
14[ExportCSharpVisualBasicStatelessLspService(typeof(CopilotCompletionResolveContextHandler), WellKnownLspServerKinds.Any), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
DefaultCapabilitiesProvider.cs (1)
28[ExportCSharpVisualBasicStatelessLspService(typeof(ICapabilitiesProvider), WellKnownLspServerKinds.Any)]
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
14internal class ExportCSharpVisualBasicLspServiceFactoryAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (1)
11internal class ExportCSharpVisualBasicStatelessLspServiceAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportLspServiceFactoryAttribute.cs (1)
19Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportStatelessLspServiceAttribute.cs (1)
19Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\LspServices.cs (4)
52foreach (var lazyServiceFactory in mefLspServiceFactories.Where(f => f.Metadata.ServerKind == WellKnownLspServerKinds.Any)) 56foreach (var lazyService in mefLspServices.Where(s => s.Metadata.ServerKind == WellKnownLspServerKinds.Any)) 73Contract.ThrowIfFalse(metadata.ServerKind == WellKnownLspServerKinds.Any); 82Contract.ThrowIfTrue(existing.Metadata.ServerKind == WellKnownLspServerKinds.Any);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
LspServicesTests.cs (4)
106[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 111[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 126[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 131[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared]
Microsoft.VisualStudio.LanguageServices.Razor (2)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\ExportRazorLspServiceFactoryAttribute.cs (1)
13internal class ExportRazorLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\ExportRazorStatelessLspServiceAttribute.cs (1)
13internal sealed class ExportRazorStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
Microsoft.VisualStudioCode.RazorExtension (2)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\ExportRazorLspServiceFactoryAttribute.cs (1)
13internal class ExportRazorLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\ExportRazorStatelessLspServiceAttribute.cs (1)
13internal sealed class ExportRazorStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);