Mute CA1030, CA1056, and CA2234

"Use events where appropriate" and some string->Uri nags
This commit is contained in:
YoshiRulz 2020-06-30 14:29:21 +10:00
parent dddeab8e12
commit c5f10187fc
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,9 @@
<!-- Enum Storage should be Int32 -->
<Rule Id="CA1028" Action="Hidden" />
<!-- Use events where appropriate -->
<Rule Id="CA1030" Action="Hidden" />
<!-- Do not catch general exception types -->
<Rule Id="CA1031" Action="Hidden" />
@ -68,6 +71,9 @@
<!-- Uri return values should not be strings -->
<Rule Id="CA1055" Action="Hidden" />
<!-- Uri properties should not be strings -->
<Rule Id="CA1056" Action="Hidden" />
<!-- Validate arguments of public methods -->
<Rule Id="CA1062" Action="Hidden" />
@ -215,6 +221,9 @@
<!-- Implement serialization constructors -->
<Rule Id="CA2229" Action="Hidden" />
<!-- Pass system uri objects instead of strings -->
<Rule Id="CA2234" Action="Hidden" />
<!-- Mark ISerializable types with serializable -->
<Rule Id="CA2237" Action="Hidden" />