-
Notifications
You must be signed in to change notification settings - Fork 467
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
AD0001 - NullReferenceException when running CA2246 #2889
Comments
Thanks for the prompt bug report @RobSiklos. I will work on a fix and point you a myget package with the fix. Based on number of folks that hit this, we may have to release a 2.9.6-beta1 or 2.9.6 for this fix. |
Confirmed fixed in 2.9.6-beta1.19502.2+ce473561. Thanks @mavasani ! |
FYI: We got large number of customer reports for this AD0001. So, we have just published 2.9.6 with this fix: https://github.com/dotnet/roslyn-analyzers/releases/tag/v2.9.6 Thanks everyone for helping find and fix this issue promptly. |
I'm using 2.10.0 and I'm still having this problem. |
Sorry, it's a different error message. I guess I'll raise a new issue... |
Analyzer package
Microsoft.CodeAnalysis.FxCopAnalyzers
Package Version
v2.9.5
Diagnostic ID
CA2246
Repro steps
Analyze the following code:
Expected behavior
No warning or error.
Actual behavior
The text was updated successfully, but these errors were encountered: