From fb5624880b193b2ce49f195abcb4add935985a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 6 Sep 2022 18:09:07 +0200 Subject: [PATCH] Fix sorting. --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index e761cbe1a6..d543a2eb07 100644 --- a/.editorconfig +++ b/.editorconfig @@ -159,6 +159,9 @@ dotnet_diagnostic.CA1826.severity = warning # Count() is used where Any() could be used instead to improve performance. dotnet_diagnostic.CA1827.severity = warning +# Use Length/Count property instead of Enumerable.Count method. +dotnet_diagnostic.CA1829.severity = warning + # Use string.Contains(char) instead of string.Contains(string) with single characters. dotnet_diagnostic.CA1847.severity = warning @@ -170,9 +173,6 @@ indent_size = 4 # Use 'Count' property instead of 'Any' method. dotnet_diagnostic.RCS1080.severity = warning -# Use the "Length" property instead of Enumerable.Count(). -dotnet_diagnostic.CA1829.severity = warning - # Use read-only auto-implemented property. dotnet_diagnostic.RCS1170.severity = warning