50 references to CSharpVisualBasicLspServer
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\RazorConfigurationChangedServiceFactory.cs (1)
31
if (context.ServerKind is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.
CSharpVisualBasicLspServer
))
Cohost\RazorStartupServiceFactory.cs (1)
54
if (context.ServerKind is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.
CSharpVisualBasicLspServer
))
Microsoft.CodeAnalysis.LanguageServer (4)
FileBasedPrograms\FileBasedProgramsWorkspaceProviderFactory.cs (1)
25
[ExportCSharpVisualBasicStatelessLspService(typeof(ILspMiscellaneousFilesWorkspaceProviderFactory), WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
LanguageServer\LanguageServerHost.cs (1)
52
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
Telemetry\VSCodeRequestTelemetryLogger.cs (2)
13
[ExportCSharpVisualBasicStatelessLspService(typeof(RequestTelemetryLogger), serverKind: WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
16
internal sealed class VSCodeRequestTelemetryLogger() : RequestTelemetryLogger(WellKnownLspServerKinds.
CSharpVisualBasicLspServer
.ToTelemetryString())
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
RoslynLanguageServer.cs (1)
100
if (serverKind == WellKnownLspServerKinds.
CSharpVisualBasicLspServer
)
WellKnownLspServerKinds.cs (3)
56
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
=> "Roslyn Language Server Client",
80
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
=> "CSharpVisualBasicLanguageServerFactory",
100
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
=> ProtocolConstants.RoslynLspLanguagesContract,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (40)
Configuration\DidChangeConfigurationNotificationHandlerTest.cs (2)
50
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
82
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
Definitions\GoToTypeDefinitionTests.cs (1)
248
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
Diagnostics\DiagnosticRegistrationTests.cs (1)
47
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
HandlerTests.cs (1)
282
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
LspServicesTests.cs (10)
23
await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition);
36
await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition);
49
await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition);
62
await Assert.ThrowsAnyAsync<Exception>(async () => await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition));
69
await Assert.ThrowsAnyAsync<Exception>(async () => await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition));
76
await using var server = await CreateTestLspServerAsync("", mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition);
96
[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
101
[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
116
[ExportStatelessLspService(typeof(TestLspService), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
121
[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
Metadata\LspMetadataAsSourceWorkspaceTests.cs (2)
39
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
76
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
Miscellaneous\LspMiscellaneousFilesWorkspaceTests.cs (9)
27
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
50
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
91
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
125
await using var testLspServer = await CreateTestLspServerAsync(markup, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
148
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
192
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
219
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
248
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
276
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
ProtocolConversionsTests.cs (2)
302
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
318
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
UriTests.cs (8)
39
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
65
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
135
"Initial Disk Contents", mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
166
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
214
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
260
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
296
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
335
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
Workspaces\LspWorkspaceManagerTests.cs (4)
238
await using var testLspServer = await CreateTestLspServerAsync(markup, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
544
[], mutatingLspWorkspace: true, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
604
"Initial Disk Contents", mutatingLspWorkspace: true, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
642
"Initial Disk Contents", mutatingLspWorkspace: true, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});