Enable CA1000: Do not declare static members on generic types (#14097)

This commit is contained in:
xtqqczze 2020-11-19 20:10:09 +00:00 committed by GitHub
parent 6dcc50701d
commit 567724962e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,8 @@
is_global = true
# CA1000: Do not declare static members on generic types
dotnet_diagnostic.CA1000.severity = silent
dotnet_diagnostic.CA1000.severity = warning
dotnet_code_quality.ca1000.api_surface = all
# CA1001: Types that own disposable fields should be disposable
dotnet_diagnostic.CA1001.severity = silent