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

Key: RSRP-31063
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

Make method non-static should not work

Created: 02 Nov 06 18:39   Updated: 12 May 08 18:16
Component/s: Refactorings - Make Method Non-Static
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 300
Fixed in build: 798


 Description  « Hide
Make method non-static should not work in the following case.
class Stuff<T>
{
    public T obj;
    static int TU(Stuff<int> stuff)
    {
        return stuff.obj;
    }
}


 All   Comments   Work Log   Change History      Sort Order:
Vladimir Reshetnikov - 03 Jun 07 18:38
Because parameter has non-suitable type.