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

Key: RSRP-48174
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Andrey Simanovsky
Votes: 1
Watchers: 1
Operations

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

Extract method does not support iterators (''yield' statements)

Created: 29 Aug 07 13:20   Updated: 05 Feb 08 21:09
Component/s: Refactorings - Extract Method
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

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


 Description  « Hide
public IEnumerable<int> Foo()
{
  yield return 1;
}

Try to extract the only statement in the method.
Result: non-compilable code.
Expected result: compilable code.



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