-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Microsoft.CodeAnalysis.NetAnalyzers #201
Conversation
…de-analysis/quality-rules/ca1031 Do not catch general exception types
…de-analysis/quality-rules/ca1062 - Validate arguments of public methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -217,7 +211,7 @@ public IObjectRenderer Get(Type type) | |||
/// <summary> | |||
/// Gets the default renderer instance | |||
/// </summary> | |||
public IObjectRenderer DefaultRenderer => _sDefaultRenderer; | |||
public static IObjectRenderer DefaultRenderer { get; } = new DefaultRenderer(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For record: this change in public API broke log4net 3.0.3 for log4net.Ext.Json 3.0.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reason for #211
activated Microsoft.CodeAnalysis.NetAnalyzers and fixed Warnings