Skip to content

Commit 6b075cf

Browse files
committed
(GH-793) Use 2.0 Async method name
This commit renames methods to conform to version 2.0 naming standard; * Async method names should be suffixed with Async
1 parent c23658f commit 6b075cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public void Start()
131131
this.messageHandlers.SetRequestHandler(
132132
DocumentRangeFormattingRequest.Type,
133133
this.HandleDocumentRangeFormattingRequest);
134-
this.messageHandlers.SetRequestHandler(FoldingRangeRequest.Type, this.HandleFoldingRangeRequest);
134+
this.messageHandlers.SetRequestHandler(FoldingRangeRequest.Type, this.HandleFoldingRangeRequestAsync);
135135

136136
this.messageHandlers.SetRequestHandler(ShowOnlineHelpRequest.Type, this.HandleShowOnlineHelpRequest);
137137
this.messageHandlers.SetRequestHandler(ShowHelpRequest.Type, this.HandleShowHelpRequest);
@@ -1252,7 +1252,7 @@ await requestContext.SendResult(new TextEdit[1]
12521252
});
12531253
}
12541254

1255-
protected async Task HandleFoldingRangeRequest(
1255+
protected async Task HandleFoldingRangeRequestAsync(
12561256
FoldingRangeParams foldingParams,
12571257
RequestContext<FoldingRange[]> requestContext)
12581258
{

0 commit comments

Comments
 (0)