16 references to Any
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (3)
Cohost\RazorStartupServiceFactory.cs (1)
20
[ExportCSharpVisualBasicLspServiceFactory(typeof(RazorStartupService), WellKnownLspServerKinds.
Any
), Shared]
ExportRazorLspServiceFactoryAttribute.cs (1)
12
internal class ExportRazorLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.
Any
);
ExportRazorStatelessLspServiceAttribute.cs (1)
12
internal sealed class ExportRazorStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.
Any
);
Microsoft.CodeAnalysis.LanguageServer (1)
LanguageServer\Handler\CopilotCompletion\CopilotCompletionResolveContextHandler.cs (1)
14
[ExportCSharpVisualBasicStatelessLspService(typeof(CopilotCompletionResolveContextHandler), WellKnownLspServerKinds.
Any
), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
14
internal class ExportCSharpVisualBasicLspServiceFactoryAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
)
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (1)
11
internal class ExportCSharpVisualBasicStatelessLspServiceAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
)
LspServices\ExportLspServiceFactoryAttribute.cs (1)
19
Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
)
LspServices\ExportStatelessLspServiceAttribute.cs (1)
19
Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
)
LspServices\LspServices.cs (4)
52
foreach (var lazyServiceFactory in mefLspServiceFactories.Where(f => f.Metadata.ServerKind == WellKnownLspServerKinds.
Any
))
56
foreach (var lazyService in mefLspServices.Where(s => s.Metadata.ServerKind == WellKnownLspServerKinds.
Any
))
73
Contract.ThrowIfFalse(metadata.ServerKind == WellKnownLspServerKinds.
Any
);
82
Contract.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]