Skip to content

Commit 9f3eeb4

Browse files
Mark more methods as Promise-returning
1 parent cd7d7ac commit 9f3eeb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,14 @@ export class RoslynLanguageServer {
300300
await this.sendOpenSolutionNotification();
301301
}
302302

303-
private async sendOpenSolutionNotification() {
303+
private async sendOpenSolutionNotification(): Promise<void> {
304304
if (this._solutionFile !== undefined && this._languageClient !== undefined && this._languageClient.isRunning()) {
305305
let protocolUri = this._languageClient.clientOptions.uriConverters!.code2Protocol(this._solutionFile);
306306
await this._languageClient.sendNotification("solution/open", new OpenSolutionParams(protocolUri));
307307
}
308308
}
309309

310-
private async openDefaultSolution() {
310+
private async openDefaultSolution(): Promise<void> {
311311
const options = this.optionProvider.GetLatestOptions();
312312

313313
// If Dev Kit isn't installed, then we are responsible for picking the solution to open, assuming the user hasn't explicitly
@@ -325,7 +325,7 @@ export class RoslynLanguageServer {
325325
}
326326
}
327327

328-
private async sendOrSubscribeForServiceBrokerConnection() {
328+
private async sendOrSubscribeForServiceBrokerConnection(): Promise<void> {
329329
const csharpDevKitExtension = vscode.extensions.getExtension<CSharpDevKitExports>(csharpDevkitExtensionId);
330330
if (csharpDevKitExtension) {
331331
const exports = await csharpDevKitExtension.activate();

0 commit comments

Comments
 (0)