211 references to WellKnownLspServerKinds
Microsoft.CodeAnalysis.EditorFeatures (14)
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClient.cs (2)
39public override WellKnownLspServerKinds ServerKind => WellKnownLspServerKinds.RoslynTypeScriptLspServer;
LanguageServer\AbstractInProcLanguageClient.cs (3)
71public abstract WellKnownLspServerKinds ServerKind { get; } 187WellKnownLspServerKinds serverKind, 219WellKnownLspServerKinds serverKind,
LanguageServer\AlwaysActivateInProcCapabilitiesProvider.cs (1)
18[ExportCSharpVisualBasicStatelessLspService(typeof(ICapabilitiesProvider), WellKnownLspServerKinds.AlwaysActiveVSLspServer), Shared]
LanguageServer\AlwaysActivateInProcLanguageClient.cs (2)
39public override WellKnownLspServerKinds ServerKind => WellKnownLspServerKinds.AlwaysActiveVSLspServer;
LanguageServer\LiveShareCapabilitiesProvider.cs (1)
14[ExportCSharpVisualBasicStatelessLspService(typeof(ICapabilitiesProvider), WellKnownLspServerKinds.LiveShareLspServer), Shared]
LanguageServer\LiveShareInProcLanguageClient.cs (2)
38public override WellKnownLspServerKinds ServerKind => WellKnownLspServerKinds.LiveShareLspServer;
LanguageServer\RazorInProcLanguageClient.cs (2)
53public override WellKnownLspServerKinds ServerKind => WellKnownLspServerKinds.RazorLspServer;
LanguageServer\RazorInProcLanguageClientCapabilitiesProvider.cs (1)
17[ExportCSharpVisualBasicStatelessLspService(typeof(ICapabilitiesProvider), WellKnownLspServerKinds.RazorLspServer), Shared]
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
LanguageServer\VSTypeScriptHandlerTests.cs (2)
90protected override RoslynLanguageServer CreateLanguageServer(Stream inputStream, Stream outputStream, WellKnownLspServerKinds serverKind, AbstractLspLogger logger) 105WellKnownLspServerKinds.RoslynTypeScriptLspServer);
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (17)
AbstractRazorLspServiceFactory.cs (1)
14public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Cohost\ExportCohostLspServiceFactoryAttribute.cs (1)
12internal class ExportCohostLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer);
Cohost\ExportCohostStatelessLspServiceAttribute.cs (1)
12internal sealed class ExportCohostStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer);
Cohost\RazorClientLanguageServerManagerFactory.cs (1)
18public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorConfigurationChangedServiceFactory.cs (3)
21public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) 31if (context.ServerKind is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.CSharpVisualBasicLspServer))
Cohost\RazorSemanticTokensRefreshQueueWrapper.cs (1)
23public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Cohost\RazorStartupServiceFactory.cs (4)
20[ExportCSharpVisualBasicLspServiceFactory(typeof(RazorStartupService), WellKnownLspServerKinds.Any), Shared] 27public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) 48if (context.ServerKind is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.CSharpVisualBasicLspServer))
ExportRazorLspServiceFactoryAttribute.cs (1)
12internal class ExportRazorLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
ExportRazorStatelessLspServiceAttribute.cs (1)
12internal sealed class ExportRazorStatelessLspServiceAttribute(Type handlerType) : ExportStatelessLspServiceAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
Testing\RazorTestCapabilitiesProvider.cs (1)
16[ExportCSharpVisualBasicStatelessLspService(typeof(ICapabilitiesProvider), WellKnownLspServerKinds.RazorLspServer), Shared]
Testing\RazorTestLanguageServerFactory.cs (2)
29return CreateLanguageServerCore(jsonRpc, options, razorCapabilitiesProvider, hostServices, WellKnownLspServerKinds.RazorLspServer); 32private IRazorLanguageServerTarget CreateLanguageServerCore(JsonRpc jsonRpc, JsonSerializerOptions options, IRazorTestCapabilitiesProvider razorCapabilitiesProvider, HostServices hostServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (3)
External\ExportXamlLspServiceFactoryAttribute.cs (1)
18public ExportXamlLspServiceFactoryAttribute(Type type, WellKnownLspServerKinds serverKind)
External\XamlRequestHandlerFactoryBase.cs (1)
22public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Internal\OnInitializedServiceFactory.cs (1)
33public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer (8)
FileBasedPrograms\CsprojInConeChecker.cs (1)
21public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
FileBasedPrograms\FileBasedProgramsEntryPointDiscovery.cs (1)
36public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
FileBasedPrograms\FileBasedProgramsWorkspaceProviderFactory.cs (1)
24[ExportCSharpVisualBasicStatelessLspService(typeof(ILspMiscellaneousFilesWorkspaceProviderFactory), WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared]
HostWorkspace\Razor\RazorClientLanguageServerManagerFactory.cs (1)
17public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
LanguageServer\Handler\CopilotCompletion\CopilotCompletionResolveContextHandler.cs (1)
14[ExportCSharpVisualBasicStatelessLspService(typeof(CopilotCompletionResolveContextHandler), WellKnownLspServerKinds.Any), Shared]
LanguageServer\LanguageServerHost.cs (1)
50WellKnownLspServerKinds.CSharpVisualBasicLspServer,
Telemetry\VSCodeRequestTelemetryLogger.cs (2)
13[ExportCSharpVisualBasicStatelessLspService(typeof(RequestTelemetryLogger), serverKind: WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 16internal sealed class VSCodeRequestTelemetryLogger() : RequestTelemetryLogger(WellKnownLspServerKinds.CSharpVisualBasicLspServer.ToTelemetryString())
Microsoft.CodeAnalysis.LanguageServer.Protocol (75)
CSharpVisualBasicLanguageServerFactory.cs (1)
32WellKnownLspServerKinds serverKind,
DefaultCapabilitiesProvider.cs (1)
28[ExportCSharpVisualBasicStatelessLspService(typeof(ICapabilitiesProvider), WellKnownLspServerKinds.Any)]
Handler\CodeLens\CodeLensRefreshQueueFactory.cs (1)
22public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Completion\CompletionListCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\AbstractWorkspacePullDiagnosticsHandler.cs (1)
62if (context.ServerKind == WellKnownLspServerKinds.RazorLspServer)
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDiagnosticSourceHelpers.cs (1)
63if (context.ServerKind == WellKnownLspServerKinds.RoslynTypeScriptLspServer &&
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
22public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
23public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
23public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\InlayHint\InlayHintCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new InlayHintCache();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (1)
22public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
59var isRazorRequest = context.ServerKind == WellKnownLspServerKinds.RazorLspServer;
Handler\ProjectContext\ProjectContextRefreshQueueFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RequestContext.cs (3)
151public readonly WellKnownLspServerKinds ServerKind; 171WellKnownLspServerKinds serverKind, 227WellKnownLspServerKinds serverKind,
Handler\ResolveDataCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensFullHandlerFactory.cs (1)
19public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\ServerInfoProvider.cs (2)
11public ServerInfoProvider(WellKnownLspServerKinds serverKind, ImmutableArray<string> supportedLanguages) 17public readonly WellKnownLspServerKinds ServerKind;
Handler\ServerLifetime\LspServiceLifeCycleManager.cs (1)
28public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SourceGenerators\SourceGeneratorRefreshQueueFactory.cs (1)
19public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\DocumentSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\WorkspaceSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
16public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\WorkDoneProgress\WorkDoneProgressManagerFactory.cs (1)
16public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
ILanguageServerFactory.cs (1)
18WellKnownLspServerKinds serverKind,
LspServices\AbstractExportLspServiceAttribute.cs (2)
35public WellKnownLspServerKinds? ServerKind { get; } 57Type serviceType, string contractName, Type contractType, bool isStateless, WellKnownLspServerKinds serverKind)
LspServices\AbstractLspServiceProvider.cs (1)
19public LspServices CreateServices(WellKnownLspServerKinds serverKind, FrozenDictionary<string, ImmutableArray<BaseService>> baseServices)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (2)
14internal class ExportCSharpVisualBasicLspServiceFactoryAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (2)
11internal class ExportCSharpVisualBasicStatelessLspServiceAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportLspServiceFactoryAttribute.cs (2)
19Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportStatelessLspServiceAttribute.cs (2)
19Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ILspServiceFactory.cs (1)
13ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind);
LspServices\LspServiceMetadataView.cs (2)
17public WellKnownLspServerKinds ServerKind { get; } 37ServerKind = (WellKnownLspServerKinds)metadata[nameof(AbstractExportLspServiceAttribute.ServerKind)];
LspServices\LspServices.cs (5)
38WellKnownLspServerKinds serverKind, 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);
RoslynLanguageServer.cs (4)
31private readonly WellKnownLspServerKinds _serverKind; 40WellKnownLspServerKinds serverKind, 115WellKnownLspServerKinds serverKind, 141if (serverKind == WellKnownLspServerKinds.CSharpVisualBasicLspServer)
WellKnownLspServerKinds.cs (18)
43public static string ToUserVisibleString(this WellKnownLspServerKinds server) 47WellKnownLspServerKinds.RazorLspServer => "Razor C# Language Server Client", 48WellKnownLspServerKinds.LiveShareLspServer => "Live Share C#/Visual Basic Language Server Client", 49WellKnownLspServerKinds.AlwaysActiveVSLspServer => "Roslyn Language Server Client", 50WellKnownLspServerKinds.CSharpVisualBasicLspServer => "Roslyn Language Server Client", 53WellKnownLspServerKinds.RoslynTypeScriptLspServer => "Roslyn TypeScript Language Server Client", 58public static string ToTelemetryString(this WellKnownLspServerKinds server) 63WellKnownLspServerKinds.RazorLspServer => "RazorInProcLanguageClient", 66WellKnownLspServerKinds.LiveShareLspServer => "LiveShareInProcLanguageClient", 69WellKnownLspServerKinds.AlwaysActiveVSLspServer => "AlwaysActivateInProcLanguageClient", 72WellKnownLspServerKinds.CSharpVisualBasicLspServer => "CSharpVisualBasicLanguageServerFactory", 74WellKnownLspServerKinds.RoslynTypeScriptLspServer => "RoslynTypeScriptLspServer", 79public static string GetContractName(this WellKnownLspServerKinds server) 83WellKnownLspServerKinds.RazorLspServer => ProtocolConstants.RoslynLspLanguagesContract, 84WellKnownLspServerKinds.LiveShareLspServer => ProtocolConstants.RoslynLspLanguagesContract, 85WellKnownLspServerKinds.AlwaysActiveVSLspServer => ProtocolConstants.RoslynLspLanguagesContract, 86WellKnownLspServerKinds.CSharpVisualBasicLspServer => ProtocolConstants.RoslynLspLanguagesContract, 87WellKnownLspServerKinds.RoslynTypeScriptLspServer => ProtocolConstants.TypeScriptLanguageContract,
Workspaces\LspWorkspaceManagerFactory.cs (1)
18public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (52)
Configuration\DidChangeConfigurationNotificationHandlerTest.cs (2)
50ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 82ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer,
Definitions\GoToTypeDefinitionTests.cs (1)
248await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
Diagnostics\AbstractPullDiagnosticTestsBase.cs (2)
326WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.AlwaysActiveVSLspServer,
Diagnostics\DiagnosticRegistrationTests.cs (1)
47ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer,
Diagnostics\PullDiagnosticTests.cs (2)
618GetInitializationOptions(BackgroundAnalysisScope.OpenFiles, CompilerDiagnosticsScope.OpenFiles, useVSDiagnostics, WellKnownLspServerKinds.RazorLspServer)); 638GetInitializationOptions(BackgroundAnalysisScope.OpenFiles, CompilerDiagnosticsScope.OpenFiles, useVSDiagnostics, WellKnownLspServerKinds.LiveShareLspServer));
HandlerTests.cs (3)
290var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 418public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) 447public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
LanguageServerTargetTests.cs (1)
155public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new StatefulLspService();
LspServicesTests.cs (17)
23await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition); 36await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition); 49await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition); 62await Assert.ThrowsAnyAsync<Exception>(async () => await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition)); 69await Assert.ThrowsAnyAsync<Exception>(async () => await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition)); 76await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition); 81await using var server2 = await CreateTestLspServerAsync(server.TestWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.AlwaysActiveVSLspServer }, LanguageNames.CSharp); 93public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new TestLspServiceFromFactory(this.GetType().Name); 96[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 101[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 106[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 111[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 116[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 121[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 126[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 131[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 136[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer), Shared]
Metadata\LspMetadataAsSourceWorkspaceTests.cs (2)
38await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 75await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
OnAutoInsert\AbstractOnAutoInsertTests.cs (4)
29WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.AlwaysActiveVSLspServer, 67WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.AlwaysActiveVSLspServer,
OnAutoInsert\OnAutoInsertTests.cs (1)
401""", mutatingLspWorkspace, serverKind: WellKnownLspServerKinds.RazorLspServer, useVSCapabilities: useVSCapabilities);
ProtocolConversionsTests.cs (2)
362await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 378await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
UriTests.cs (11)
40await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 66await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 104await using var testLspServer = await CreateXmlTestLspServerAsync(markup, mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 137"Initial Disk Contents", mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 168await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 216await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 262await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 298await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 337await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 360await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 383await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
Workspaces\LspWorkspaceManagerTests.cs (3)
499[], mutatingLspWorkspace: true, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 559"Initial Disk Contents", mutatingLspWorkspace: true, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 597"Initial Disk Contents", mutatingLspWorkspace: true, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
Microsoft.CodeAnalysis.LanguageServer.UnitTests (39)
FileBasedProgramsEntryPointDiscoveryTests.cs (3)
220ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 253ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 320ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer,
FileBasedProgramsWorkspaceTests.cs (36)
87await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 124await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 146await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 184await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 210await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 238await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 269ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 300await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 359await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 396await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 432await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 486ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 533ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 568await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 618await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 659await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 699await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 744await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 812ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer 863await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 937ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 993ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1063ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1126ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1170ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1234ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1286ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1346ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1376ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1407ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1468ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1499ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1533ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1563await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }); 1591ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer, 1616await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer }, composition: null);
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (1)
39LanguageServerName = WellKnownLspServerKinds.AlwaysActiveVSLspServer.ToUserVisibleString(),