Fix CA2249, CA2251
This commit is contained in:
committed by
Matthias Mailänder
parent
285443f10f
commit
169c60883b
@@ -892,9 +892,15 @@ dotnet_diagnostic.CA2247.severity = warning
|
||||
# Provide correct enum argument to Enum.HasFlag.
|
||||
dotnet_diagnostic.CA2248.severity = warning
|
||||
|
||||
# Consider using String.Contains instead of String.IndexOf.
|
||||
dotnet_diagnostic.CA2249.severity = warning
|
||||
|
||||
# Use ThrowIfCancellationRequested.
|
||||
dotnet_diagnostic.CA2250.severity = warning
|
||||
|
||||
# Use String.Equals over String.Compare.
|
||||
dotnet_diagnostic.CA2251.severity = warning
|
||||
|
||||
# Ensure ThreadStatic is only used with static fields.
|
||||
dotnet_diagnostic.CA2259.severity = warning
|
||||
|
||||
|
||||
Reference in New Issue
Block a user