Change signature of overridden member

Why can't I change the signature of an overridden member (and all of it's
overrides)?

I have a DomainSupertype abstract class where I have chosen IEnumerable for
one of the members with a bunch of stuff overriding this and now need to
change that to IList and was hoping to do it through a Change Signature refactoring
- but it doesn't seem to be possible.

Is this a feature that is planned?

Ronnie

VS2003
R#215


2 comments
Comment actions Permalink

Hi Ronnie,

if the problem is that the Continue button stays disabled you can try to
click outside the dialog window into your code window and then back to
the dialog. There seems to be a bug in the button enabling code.


Sincerely,
Stefan Lieser


Ronnie Barker schrieb:

Why can't I change the signature of an overridden member (and all of
it's overrides)?

I have a DomainSupertype abstract class where I have chosen IEnumerable
for one of the members with a bunch of stuff overriding this and now
need to change that to IList and was hoping to do it through a Change
Signature refactoring - but it doesn't seem to be possible.

Is this a feature that is planned?

Ronnie

VS2003
R#215

0
Comment actions Permalink

Hello Stefan,

Not that problem - the option is greyed out in the menu!

Hi Ronnie,

if the problem is that the Continue button stays disabled you can try
to click outside the dialog window into your code window and then back
to the dialog. There seems to be a bug in the button enabling code.

Sincerely,
Stefan Lieser
Ronnie Barker schrieb:

>> Why can't I change the signature of an overridden member (and all of
>> it's overrides)?
>>
>> I have a DomainSupertype abstract class where I have chosen
>> IEnumerable for one of the members with a bunch of stuff overriding
>> this and now need to change that to IList and was hoping to do it
>> through a Change Signature refactoring - but it doesn't seem to be
>> possible.
>>
>> Is this a feature that is planned?
>>
>> Ronnie
>>
>> VS2003
>> R#215


0

Please sign in to leave a comment.