summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-24 18:31:24 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-12-06 14:07:38 -0300
commitba4bc8ae05c5ab0a66df3467ebc9db535aaa5e79 (patch)
treedb0ff60c038c334fa4871f36c4523700759c1319
parente0cf0301b142fd8e6a82d2e1dc65db0a3d7f20e2 (diff)
Start re-enabling some warnings after fixesdevs/lauromoura/stylecop
-rw-r--r--src/bindings/mono/ca.ruleset32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/bindings/mono/ca.ruleset b/src/bindings/mono/ca.ruleset
index 41b4582..8f3ae39 100644
--- a/src/bindings/mono/ca.ruleset
+++ b/src/bindings/mono/ca.ruleset
@@ -8,13 +8,13 @@
8 <!-- Catch generic exception --> 8 <!-- Catch generic exception -->
9 <Rule Id="CA1031" Action="None"/> 9 <Rule Id="CA1031" Action="None"/>
10 <!-- Add extra exception constructors --> 10 <!-- Add extra exception constructors -->
11 <Rule Id="CA1032" Action="None"/> 11 <Rule Id="CA1032" Action="Warning"/>
12 <!-- Do not nest NativeTypes --> 12 <!-- Do not nest NativeTypes -->
13 <Rule Id="CA1034" Action="None"/> 13 <Rule Id="CA1034" Action="None"/>
14 <!-- IComparable must implement other comparison operators --> 14 <!-- IComparable must implement other comparison operators -->
15 <Rule Id="CA1036" Action="None"/> 15 <Rule Id="CA1036" Action="None"/>
16 <!-- Avoid empty interface --> 16 <!-- Avoid empty interface -->
17 <Rule Id="CA1040" Action="None"/> 17 <Rule Id="CA1040" Action="Warning"/>
18 <!-- Consider making property with getter --> 18 <!-- Consider making property with getter -->
19 <Rule Id="CA1044" Action="None"/> 19 <Rule Id="CA1044" Action="None"/>
20 <!-- Visible instance fields --> 20 <!-- Visible instance fields -->
@@ -24,9 +24,9 @@
24 <!-- Using parameters before checking for null --> 24 <!-- Using parameters before checking for null -->
25 <Rule Id="CA1062" Action="None"/> 25 <Rule Id="CA1062" Action="None"/>
26 <!-- Remove IDisposable as Object already has it --> 26 <!-- Remove IDisposable as Object already has it -->
27 <Rule Id="CA1063" Action="None"/> 27 <Rule Id="CA1063" Action="Warning"/>
28 <!-- Exceptions must be public --> 28 <!-- Exceptions must be public -->
29 <Rule Id="CA1064" Action="None"/> 29 <Rule Id="CA1064" Action="Warning"/>
30 <!-- Do not raise exception in unexpected locations --> 30 <!-- Do not raise exception in unexpected locations -->
31 <Rule Id="CA1065" Action="None"/> 31 <Rule Id="CA1065" Action="None"/>
32 <!-- String localization --> 32 <!-- String localization -->
@@ -34,9 +34,9 @@
34 <!-- Specify IFormatProvider --> 34 <!-- Specify IFormatProvider -->
35 <Rule Id="CA1305" Action="None"/> 35 <Rule Id="CA1305" Action="None"/>
36 <!-- Specify Stringcomparison --> 36 <!-- Specify Stringcomparison -->
37 <Rule Id="CA1307" Action="None"/> 37 <Rule Id="CA1307" Action="Warning"/>
38 <!-- PInvoke should not be visible --> 38 <!-- PInvoke should not be visible -->
39 <Rule Id="CA1401" Action="None"/> 39 <Rule Id="CA1401" Action="Warning"/>
40 <!-- Use nameof --> 40 <!-- Use nameof -->
41 <Rule Id="CA1507" Action="None"/> 41 <Rule Id="CA1507" Action="None"/>
42 <!-- Parameter underscore --> 42 <!-- Parameter underscore -->
@@ -48,7 +48,7 @@
48 <!-- Parameter End conflicts with VB --> 48 <!-- Parameter End conflicts with VB -->
49 <Rule Id="CA1716" Action="None"/> 49 <Rule Id="CA1716" Action="None"/>
50 <!-- Enum field must be plural --> 50 <!-- Enum field must be plural -->
51 <Rule Id="CA1717" Action="None"/> 51 <Rule Id="CA1717" Action="Warning"/>
52 <!-- Variable has type name --> 52 <!-- Variable has type name -->
53 <Rule Id="CA1720" Action="None"/> 53 <Rule Id="CA1720" Action="None"/>
54 <!-- Property with same name as getter --> 54 <!-- Property with same name as getter -->
@@ -64,31 +64,31 @@
64 <!-- Realized classes are never instantiated --> 64 <!-- Realized classes are never instantiated -->
65 <Rule Id="CA1812" Action="None"/> 65 <Rule Id="CA1812" Action="None"/>
66 <!-- Override equal and operator equal on Value Types--> 66 <!-- Override equal and operator equal on Value Types-->
67 <Rule Id="CA1815" Action="None"/> 67 <Rule Id="CA1815" Action="Warning"/>
68 <!-- Dispose must call SuppressFinalizers --> 68 <!-- Dispose must call SuppressFinalizers -->
69 <Rule Id="CA1816" Action="None"/> 69 <Rule Id="CA1816" Action="Warning"/>
70 <!-- Member can be static --> 70 <!-- Member can be static -->
71 <Rule Id="CA1822" Action="None"/> 71 <Rule Id="CA1822" Action="None"/>
72 <!-- Consider zero length array allocation --> 72 <!-- Consider zero length array allocation -->
73 <Rule Id="CA1825" Action="None"/> 73 <Rule Id="CA1825" Action="Warning"/>
74 <!-- Use Count instead of Count() --> 74 <!-- Use Count instead of Count() -->
75 <Rule Id="CA1829" Action="None"/> 75 <Rule Id="CA1829" Action="Warning"/>
76 <!-- Call dispose before going out of scope --> 76 <!-- Call dispose before going out of scope -->
77 <Rule Id="CA2000" Action="None"/> 77 <Rule Id="CA2000" Action="None"/>
78 <!-- Call ConfigureWait--> 78 <!-- Call ConfigureWait-->
79 <Rule Id="CA2007" Action="None"/> 79 <Rule Id="CA2007" Action="Warning"/>
80 <!-- PInvoke should specify string marshalling --> 80 <!-- PInvoke should specify string marshalling -->
81 <Rule Id="CA2101" Action="None"/> 81 <Rule Id="CA2101" Action="None"/>
82 <!-- Rethrow loses stack info --> 82 <!-- Rethrow loses stack info -->
83 <Rule Id="CA2200" Action="None"/> 83 <Rule Id="CA2200" Action="Warning"/>
84 <!-- Declare static fields when they are declared and remove static constructor --> 84 <!-- Declare static fields when they are declared and remove static constructor -->
85 <Rule Id="CA2207" Action="None"/> 85 <Rule Id="CA2207" Action="Warning"/>
86 <!-- Instantiate exception params correctly --> 86 <!-- Instantiate exception params correctly -->
87 <Rule Id="CA2208" Action="None"/> 87 <Rule Id="CA2208" Action="Warning"/>
88 <!-- Dot not call overrideable methods in constructors --> 88 <!-- Dot not call overrideable methods in constructors -->
89 <Rule Id="CA2214" Action="None"/> 89 <Rule Id="CA2214" Action="None"/>
90 <!-- Replace implicit operator --> 90 <!-- Replace implicit operator -->
91 <Rule Id="CA2225" Action="None"/> 91 <Rule Id="CA2225" Action="Warning"/>
92 92
93 93
94 94