1 write to ServerKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\LspServiceMetadataView.cs (1)
38ServerKind = (WellKnownLspServerKinds)metadata[nameof(AbstractExportLspServiceAttribute.ServerKind)];
7 references to ServerKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
LspServices\LspServices.cs (7)
45foreach (var lazyServiceFactory in mefLspServiceFactories.Where(f => f.Metadata.ServerKind == serverKind)) 49foreach (var lazyService in mefLspServices.Where(s => s.Metadata.ServerKind == serverKind)) 53foreach (var lazyServiceFactory in mefLspServiceFactories.Where(f => f.Metadata.ServerKind == WellKnownLspServerKinds.Any)) 57foreach (var lazyService in mefLspServices.Where(s => s.Metadata.ServerKind == WellKnownLspServerKinds.Any)) 67Contract.ThrowIfFalse(metadata.ServerKind == serverKind); 74Contract.ThrowIfFalse(metadata.ServerKind == WellKnownLspServerKinds.Any); 83Contract.ThrowIfTrue(existing.Metadata.ServerKind == WellKnownLspServerKinds.Any);