You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/17 11:55:00 UTC
[jira] [Commented] (AVRO-2454) C#: Enforce Consistent Style
[ https://issues.apache.org/jira/browse/AVRO-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909665#comment-16909665 ]
ASF subversion and git services commented on AVRO-2454:
-------------------------------------------------------
Commit 93a3ca4f6a3ace56a2e32d4249d05dad6f220f1f in avro's branch refs/heads/master from Brian Lachniet
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=93a3ca4 ]
AVRO-2454: Add FxCop and StyleCop to C# bindings (#609)
* Add Microsoft.CodeAnalysis.FxCopAnalyzers
* Fix CA1000 - Do not declare static members on generic types
* Fix CA1032 - Implement standard exception constructors
* Fix CA1065 - Do not raise exceptions in unexpected locations
* Fix CA1304 - Specify CultureInfo
* Fix CA1308 - Normalize strings to uppercase
* Add a CodeAnalysis ruleset
* Add StyleCop.Anlayzers
* Fix CA1031 - Do not catch general exception types
* Fix CA1051 - Do not declare visible instance fields
> C#: Enforce Consistent Style
> ----------------------------
>
> Key: AVRO-2454
> URL: https://issues.apache.org/jira/browse/AVRO-2454
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Reporter: Brian Lachniet
> Assignee: Brian Lachniet
> Priority: Minor
>
> There has been an effort to normalize style and formatting in some of the other language implementations in the Avro project recently (AVRO-2353 for Java and AVRO-2410 for Python). The C# project could certainly benefit from normalized style as well.
> We could do this by introducing .NET Analyzers implemented in [FxCopAnalyzers|https://www.nuget.org/packages/Microsoft.CodeAnalysis.FxCopAnalyzers/] and [StyleCop.Analyzers|https://www.nuget.org/packages/StyleCop.Analyzers/].
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)