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

Key: RSRP-42790
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Alexander Zverev
Reporter: Andrey Simanovsky
Votes: 0
Watchers: 0
Operations

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

"Switch on expression" context action

Created: 09 Jun 07 19:09   Updated: 17 Mar 08 13:15
Component/s: Context actions
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

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


 Description  « Hide
When a statement is an expression statement with integral type suggest surround with switch:
enumValue;

is converted into:

switch (enumValue)
{
case MyEnum.VAL1:
...
}


 All   Comments   Work Log   Change History      Sort Order:
Ilya Ryzhenkov - 09 Jun 07 19:16
If such expression is (invalid) statement, like in example, it should be quickfix