Use string.Contains(char) instead of string.Contains(string)

with single characters
This commit is contained in:
Matthias Mailänder
2022-04-13 16:45:12 +02:00
committed by Matthias Mailänder
parent 3bc28ba6e2
commit af3362c62f
7 changed files with 17 additions and 14 deletions

View File

@@ -150,6 +150,9 @@ dotnet_diagnostic.IDE1006.severity = warning
# Avoid unnecessary zero-length array allocations.
dotnet_diagnostic.CA1825.severity = warning
# Use string.Contains(char) instead of string.Contains(string) with single characters.
dotnet_diagnostic.CA1847.severity = warning
; 4-column tab indentation
[*.yaml]
indent_style = tab