8 references to Any
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
16
public ExportCSharpVisualBasicLspServiceFactoryAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
) : base(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind)
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (1)
13
public ExportCSharpVisualBasicStatelessLspServiceAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
) : base(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind)
LspServices\ExportLspServiceFactoryAttribute.cs (1)
21
Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
)
LspServices\ExportStatelessLspServiceAttribute.cs (1)
21
Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.
Any
)
LspServices\LspServices.cs (4)
53
foreach (var lazyServiceFactory in mefLspServiceFactories.Where(f => f.Metadata.ServerKind == WellKnownLspServerKinds.
Any
))
57
foreach (var lazyService in mefLspServices.Where(s => s.Metadata.ServerKind == WellKnownLspServerKinds.
Any
))
74
Contract.ThrowIfFalse(metadata.ServerKind == WellKnownLspServerKinds.
Any
);
83
Contract.ThrowIfTrue(existing.Metadata.ServerKind == WellKnownLspServerKinds.
Any
);