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

Key: RSRP-32068
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Alexander Zverev
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

'Invert if' removes comments

Created: 17 Nov 06 12:09   Updated: 17 Mar 08 12:54
Component/s: Context actions
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
RSRP-34549 'Invert If' context action doesn't pr... Normal Closed

Build: 305


 Description  « Hide
using System;

class Stuff
{
    static void Foo(int x)
    {
        if (x > 0) // comment
        {
            Console.WriteLine("x > 0");
        }
        else
        {
            Console.WriteLine("x <= 0");
        }
    }
}

Try to invert if. Comment disappears.



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