change function visibility on virtual methods and their implementations
Change signature or yellow light bulb.
I really like how you can click on a yellow light bulb next to a method and
change it from public to internal/private/protected. However, if this is a
virtual method on a base class it does not walk through its derivations
making the same changes. I also notice the change function singnature
doesn't allow changing the visibility. Does this tool support this scenario,
if so how?
Best Regards!
Please sign in to leave a comment.
jw,
I am afraid there is no easy way in ReSharper for that yet.
I have created a feature request for this: http://www.jetbrains.net/jira/browse/RSRP-37364
Friendly,
Dmitry
--
Dmitry Lomov
Technical Lead/Software Architect
JetBrains, Inc.
"Develop With Pleasure!"
Has already been requested long ago: RSRP-29228, RSRP-29149.
Dmitry Lomov (JetBrains) schreef:
>> Change signature or yellow light bulb.
>>
>> I really like how you can click on a yellow light bulb next to a
>> method and change it from public to internal/private/protected.
>> However, if this is a virtual method on a base class it does not walk
>> through its derivations making the same changes. I also notice the
>> change function singnature doesn't allow changing the visibility. Does
>> this tool support this scenario, if so how?
>>
>> Best Regards!
>>
That would be a really good feature.... +1 :)