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

Key: RSRP-62845
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

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

Refac::InlineVariable: Local Variable Name Conflict

Created: 27 Mar 08 21:46   Updated: 04 Apr 08 16:27
Component/s: Refactorings - Inline Variable
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

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


 Description  « Hide
Before:
var ints = new int[] {};
IEnumerable<int> coll = ints.Where(n => true);
foreach(int n in coll)
{
}

After inlining coll:

var ints = new int[] {};
foreach(int n in ints.Where(n => true))
{
}

Conflicting variable n.



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