`.editorconfig`: Add CA1841, CA1845 and CA1846
MODIFY
.editorconfig
.editorconfig
@@ -246,6 +246,15 @@ csharp_style_pattern_matching_over_as_with_null_check = true:error
# IDE0130: Warn and provide code fixes for when namespaces do not match the folder structure.
dotnet_diagnostic.IDE0130.severity = warning
+# CA1841: Prefer Dictionary Contains methods
+dotnet_diagnostic.CA1841.severity = warning
+
+# CA1845: Use span-based 'string.Concat'
+dotnet_diagnostic.CA1845.severity = warning
+
+# CA1846: Prefer AsSpan over Substring
+dotnet_diagnostic.CA1846.severity = warning
+
# CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
dotnet_diagnostic.CA1847.severity = warning

`.editorconfig`: Add CA1841, CA1845 and CA1846