History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-59712
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Alexander Zverev
Reporter: Valentin Kipiatkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Quickfix for possible NRE warning: insert assert that it is not null

Created: 28 Feb 08 17:59   Updated: 17 Mar 08 13:15
Component/s: Quick Fixes
Fix Version/s: Aroha
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
By default it should insert "Debug.Assert(...);" and warning should disappear. The statement to be inserted should be configured via a Live Template.

BTW, make sure that the warning is really elimnated in all cases. In particular, in the case like that:

"GetFoo().Bar()" (when "GetFoo" can return null)

it should use temporary local, otherwise the warning won't be elimnated.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.