[1740] Fix for possible null reference in Linq results in invalid code
This is working code. When I hover over the 'entry' parameter on each line, R# is warning me that there is a "Possible 'System.NullReferenceException'" and offers a action list with "check if 'entry' is not null"
When I allow R# to fix it, it gives me this, which is _NOT_ working code
Attached is a .zip with the solution containing this code in Controllers\TwitterController.cs
Attachment(s):
Twitter Solution.zip
Please sign in to leave a comment.
Hello Richard,
Thank you very much for reporting this problem! I've created a bug-report
in our tracker: http://youtrack.jetbrains.net/issue/RSRP-188296 and you're
welcome to monitor its status.
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"