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

Key: RSRP-45064
Type: New Feature New Feature
Status: Open Open
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

A way to add parameter to all constructors in an inheritance chain at once

Created: 06 Jul 07 14:05   Updated: 06 Jul 07 14:26
Component/s: Refactorings
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

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

Build: 471


 Description  « Hide
Before:
class A
{
    public A(int x) { }
}

class B : A
{
    public B(int x) : base(x) { }
}

class C : B
{
    public C(int x) : base(x) { }
}

After:

class A
{
    public A(int x, string s) { }
}

class B : A
{
    public B(int x, string s) : base(x, s) { }
}

class C : B
{
    public C(int x, string s) : base(x, s) { }
}

Applying 'Change signature' to all constructor in turn is too long.



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