CA1309: compare strings correctly.

This commit is contained in:
Huo Yaoyuan
2019-11-28 22:39:09 +08:00
parent e46f6627e4
commit caf3f774ba
9 changed files with 11 additions and 10 deletions

View File

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