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