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