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

Key: RSRP-36926
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Andrey Simanovsky
Reporter: Andrew Serebryansky
Votes: 0
Watchers: 0
Operations

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

'Remove unused variable' quickfix incorrectly removes other variables too

Created: 12 Mar 07 13:31   Updated: 26 Mar 07 21:07
Component/s: None
Fix Version/s: 2.5.2
Security Level: Everybody (All jira users)

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

Build: 401
Fixed in build: 407


 Description  « Hide
ReSharper incorrectly changes the following code from:

static void Main()
{
using (MemoryStream ms1 = new MemoryStream(),
ms2 = new MemoryStream())
{ ms1.WriteByte(0); }
}

to:

static void Main()
{
using (new MemoryStream())
{ ms1.WriteByte(0); } }
}



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