From 1780a9d10ee4d739e9db3f15945f63cd357ab8b2 Mon Sep 17 00:00:00 2001 From: Fons Sonnemans Date: Tue, 14 Mar 2023 16:26:58 +0100 Subject: [PATCH] Update 1835.md (#268) The code didn't compile. Returning now a Task instead of a Task --- _rules/1835.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/1835.md b/_rules/1835.md index 0d7b834..f957112 100644 --- a/_rules/1835.md +++ b/_rules/1835.md @@ -6,7 +6,7 @@ severity: 1 --- Consider the following asynchronous method: - private async Task GetDataAsync() + private async Task GetDataAsync() { var result = await MyWebService.GetDataAsync(); return result.ToString();