From e44fbff17b37fc3b29184558a391cda1d4bacb6e Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Mon, 25 Jul 2022 21:34:41 -0700 Subject: [PATCH] Disable the warning `IDE0031` to take .NET 7 Preview 7 (#17770) --- .editorconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.editorconfig b/.editorconfig index 031eb23e21..dd8d63862a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -115,6 +115,7 @@ dotnet_style_prefer_conditional_expression_over_assignment = true:silent dotnet_style_prefer_auto_properties = true:suggestion csharp_prefer_simple_default_expression = true:suggestion dotnet_style_prefer_compound_assignment = false:silent +dotnet_diagnostic.IDE0031.severity = none dotnet_code_quality_unused_parameters = non_public:suggestion