Enable CA2207: Initialize value type static fields inline (#14068)

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2207
This commit is contained in:
xtqqczze 2020-11-13 03:53:39 +00:00 committed by GitHub
parent f2139dfa3b
commit 774d7d7891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -383,7 +383,7 @@ dotnet_diagnostic.CA2200.severity = warning
dotnet_diagnostic.CA2201.severity = silent
# CA2207: Initialize value type static fields inline
dotnet_diagnostic.CA2207.severity = none
dotnet_diagnostic.CA2207.severity = warning
# CA2208: Instantiate argument exceptions correctly
dotnet_diagnostic.CA2208.severity = suggestion