CA2201: throw correct exception type.

This commit is contained in:
Huo Yaoyuan
2019-11-28 21:52:05 +08:00
parent ecfc6dfa3d
commit d7b3578cc6
4 changed files with 15 additions and 4 deletions

View File

@ -57,4 +57,7 @@
<Rule Id="CA2213" Action="None" />
<Rule Id="CA2235" Action="None" />
</Rules>
<Rules AnalyzerId="Microsoft.NetCore.CSharp.Analyzers" RuleNamespace="Microsoft.NetCore.CSharp.Analyzers">
<Rule Id="CA2201" Action="Warning" />
</Rules>
</RuleSet>