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

Key: RSRP-28346
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Stepanov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

'Introduce variable' should be disabled for 'base' keyword

Created: 30 Aug 06 11:01   Updated: 17 Feb 07 05:16
Component/s: None
Fix Version/s: None
Security Level: Everybody (All jira users)

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

Build: 259
Fixed in build: 300


 Description  « Hide
...because it cannot be used as an expression.

class A
{
public override string ToString()

{ return base.ToString(); }

}

Select 'base' and apply 'introduce variable'.

class A
{
public override string ToString()

{ object o = base; /* error CS0175: Use of keyword 'base' is not valid in this context */ return o.ToString(); }

}



 All   Comments   Work Log   Change History      Sort Order:

Vladimir Reshetnikov - 31 Oct 06 10:19
It is not fixed in build 300.