Skip to content
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

Fix S3963: Rule should not raise a NullPointerException for expression body #1636

Closed
dbolkensteyn opened this issue Aug 8, 2018 · 0 comments
Assignees
Labels
Type: Bug Exceptions and blocking issues during analysis.
Milestone

Comments

@dbolkensteyn
Copy link
Contributor

On the BenchmarkDotNet project, the InitializeStaticFieldsInline rule fails with:


CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.InitializeStaticFieldsInline' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'
@dbolkensteyn dbolkensteyn added this to the 7.4 milestone Aug 8, 2018
@Evangelink Evangelink changed the title NPE on InitializeStaticFieldsInline Fix S3963: Rule should not raise a NullPointerException for expression body Aug 9, 2018
@ghost ghost removed the Status: Needs Review label Aug 9, 2018
@Evangelink Evangelink added Type: Bug Exceptions and blocking issues during analysis. Area: Rules labels Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Exceptions and blocking issues during analysis.
Projects
None yet
Development

No branches or pull requests

3 participants