This is a migrated thread and some comments may be shown as answers.

[Suggestion] Analize for null exception

1 Answer 10 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michele
Top achievements
Rank 2
Michele asked on 22 Jan 2013, 11:55 AM
Hello,
it would be great if JustCode could tell if there're some unchecked null, for example

List lst = repository.GetList();

var item = lst.Where(o1=>o1.ID == FIRST_ID); //<- suggest here to check if lst is != null


Thanks
Paolo

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 22 Jan 2013, 03:23 PM
Hi,

 Thanks for the suggestion.
I would recommend that you post it in our new feedback portal where you can vote for it.
If you have some more ideas or suggestion for JustCode improvements feel free to share them with the community at our portal. This way more people could become fans of the idea and raise its priority by voting for it.

Thank you.


Kind regards,
Zdravko
the Telerik team
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
Code Analysis
Asked by
Michele
Top achievements
Rank 2
Answers by
Zdravko
Telerik team
Share this question
or