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

Key: RSRP-29871
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Dmitry Lomov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

Wrong message 'Return type if void'

Created: 14 Oct 06 15:49   Updated: 20 Jun 07 10:58
Component/s: PSI - Parser
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 263


 Description  « Hide
class Stuff
{
    Stuff This
    {
        @get { return this;}
    }
}

Note that 'get' is not keyword, but is a special identifier (like value, set, add, yield), so it may be preceded by @ operator.

Related to http://www.jetbrains.net/jira/browse/RSRP-29868



 All   Comments   Work Log   Change History      Sort Order:
Vladimir Reshetnikov - 14 Oct 06 15:51
class Stuff
{
    Stuff This
    {
        @get { return; } // error CS0126: An object of a type convertible to 'Stuff' is required - IS NOT DETECTED
    }
}