Enable CA2216: Disposable types should declare finalizer (#14089)

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2216
This commit is contained in:
xtqqczze 2020-11-21 14:48:21 +00:00 committed by GitHub
parent d05530fbd0
commit 8691607143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -402,7 +402,7 @@ dotnet_diagnostic.CA2214.severity = none
dotnet_diagnostic.CA2215.severity = silent
# CA2216: Disposable types should declare finalizer
dotnet_diagnostic.CA2216.severity = none
dotnet_diagnostic.CA2216.severity = warning
# CA2217: Do not mark enums with FlagsAttribute
dotnet_diagnostic.CA2217.severity = none