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

Key: RSRP-60710
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Yuri Astrakhan
Votes: 0
Watchers: 0
Operations

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

Inlining method does not work

Created: 07 Mar 08 19:31   Updated: 14 May 08 14:08
Component/s: Refactorings - Inline Method
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 746
Fixed in build: 800


 Description  « Hide
For this code
private static string F(int value)
{
    return value.ToString();
}
private static void F2(Func<int, string> x)
{
}
private static void Foo()
{
    F2(F);
}

Alt+Enter inside the Foo() method on the F parameter allows to inline method F as a delegate (should it offer to inline as lambda?)

but, at the same spot, hitting Ctrl+Shift+R, and selecting "Inline method" - produces a conflict "Can not inline usage".
Same error is returned when doing Ctr+shift+r on the F() method itself.



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