This is an automated email from the ASF dual-hosted git repository.

blachniet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 5d3ad3e179c31a444b51bc2f6556448eb5ad3408
Author: Brian Lachniet <[email protected]>
AuthorDate: Sun Aug 18 11:37:18 2019 -0400

    AVRO-2454: Ignore CA1303 - Do not pass literals as localized parameters
---
 lang/csharp/Avro.ruleset | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lang/csharp/Avro.ruleset b/lang/csharp/Avro.ruleset
index e883235..e3a8405 100644
--- a/lang/csharp/Avro.ruleset
+++ b/lang/csharp/Avro.ruleset
@@ -17,12 +17,14 @@
 -->
 <RuleSet Name="New Rule Set" Description=" " ToolsVersion="16.0">
   <Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" 
RuleNamespace="Microsoft.Rules.Managed">
+    <!-- CA1303: Do not pass literals as localized parameters -->
+    <Rule Id="CA1303" Action="None" />
+
     <!--
     AVRO-2454: We need to evaluate each of these rules to determine whether we 
should enforce them.
     We disabled these rules initially to get the code analyzers installed in 
the project.
     -->
     <Rule Id="CA1062" Action="Info" />
-    <Rule Id="CA1303" Action="Info" />
     <Rule Id="CA1305" Action="Info" />
     <Rule Id="CA1307" Action="Info" />
     <Rule Id="CA1507" Action="Info" />

Reply via email to