Enable CA1043: Use integral or string argument for indexers (#14467)

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1043
This commit is contained in:
xtqqczze 2021-06-28 04:44:15 +01:00 committed by GitHub
parent b77bbf8640
commit 1ad1c26401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,8 @@ dotnet_diagnostic.CA1041.severity = warning
# CA1043: Use Integral Or String Argument For Indexers
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1043
dotnet_diagnostic.CA1043.severity = none
dotnet_diagnostic.CA1043.severity = warning
dotnet_code_quality.ca1043.api_surface = all
# CA1044: Properties should not be write only
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1044