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

Key: RSRP-54059
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Minor Minor
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

Cannot extract method from void expression

Created: 06 Dec 07 16:43   Updated: 05 Feb 08 19:40
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

Build: 573


 Description  « Hide
class Program
{
    static void Main()
    {
        Console.WriteLine();
    }
}

If I select "Console.WriteLine()" without the trailing semicolon and try to Extract method, I get an error message "Expression type is void".
I do see any reason to restrict user in this very case.



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