82 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)
48
if (context.ServerKind is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.
CSharpVisualBasicLspServer
))
Microsoft.CodeAnalysis.LanguageServer (4)
FileBasedPrograms\FileBasedProgramsWorkspaceProviderFactory.cs (1)
24
[ExportCSharpVisualBasicStatelessLspService(typeof(ILspMiscellaneousFilesWorkspaceProviderFactory), WellKnownLspServerKinds.
CSharpVisualBasicLspServer
), Shared]
LanguageServer\LanguageServerHost.cs (1)
50
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)
141
if (serverKind == WellKnownLspServerKinds.
CSharpVisualBasicLspServer
)
WellKnownLspServerKinds.cs (3)
50
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
=> "Roslyn Language Server Client",
72
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
=> "CSharpVisualBasicLanguageServerFactory",
86
WellKnownLspServerKinds.
CSharpVisualBasicLspServer
=> ProtocolConstants.RoslynLspLanguagesContract,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (33)
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)
290
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)
38
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
75
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
ProtocolConversionsTests.cs (2)
362
await using var testLspServer = await CreateTestLspServerAsync(source, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
378
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
UriTests.cs (11)
40
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
66
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
104
await using var testLspServer = await CreateXmlTestLspServerAsync(markup, mutatingLspWorkspace, initializationOptions: new() { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
137
"Initial Disk Contents", mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
168
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
216
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
262
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
298
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
337
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
360
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
383
await 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)
220
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
253
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
320
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
FileBasedProgramsWorkspaceTests.cs (36)
87
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
124
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
146
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
184
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
210
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
238
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
269
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
300
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
359
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
396
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
432
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
486
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
533
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
568
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
618
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
659
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
699
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
744
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
812
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
863
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
937
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
993
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1063
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1126
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1170
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1234
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1286
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1346
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1376
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1407
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1468
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1499
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1533
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1563
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
});
1591
ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
,
1616
await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.
CSharpVisualBasicLspServer
}, composition: null);