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

Key: RSRP-67456
Type: Exception Exception
Status: Open Open
Priority: Blocker Blocker
Assignee: Alexander Zverev
Reporter: Oliver Hallam
Votes: 0
Watchers: 0
Operations

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

"Convert to switch" causes exception in code with syntax error

Created: 06 May 08 18:10   Updated: 07 May 08 18:28
Component/s: None
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 783


 Description  « Hide
Try pasting this code somewhere in a method (notice the extra '('):

int x;
if (x == 0)
return true;
else if ((x == 1)
return false;

selecting the first if and choosing "convert to switch" causes a null reference exception.



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