Mute CA1030, CA1056, and CA2234
"Use events where appropriate" and some string->Uri nags
This commit is contained in:
parent
dddeab8e12
commit
c5f10187fc
|
@ -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" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue