Fix CA1846

This commit is contained in:
RoosterDragon
2023-03-12 16:30:42 +00:00
committed by abcdefg30
parent 07fb5e8027
commit 6362bbd176
3 changed files with 8 additions and 5 deletions

View File

@@ -756,6 +756,9 @@ dotnet_diagnostic.CA1844.severity = warning
# Use span-based 'string.Concat'.
dotnet_diagnostic.CA1845.severity = warning
# Prefer AsSpan over Substring.
dotnet_diagnostic.CA1846.severity = warning
# Use string.Contains(char) instead of string.Contains(string) with single characters.
dotnet_diagnostic.CA1847.severity = warning