Build 2155 Issues

If I use the quick fix icon to change the accessibility of a virtual member
in a base class, ReSharper  does not change the accessibility in any of the
inherited classes and the code won't compile unless all the inheriting
classes are fixed by hand.

3 comments

Hello Greg,

Do I understand correctly that this didn't happen in previous builds? Thank
you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

If I use the quick fix icon to change the accessibility of a virtual
member in a base class, ReSharper  does not change the accessibility
in any of the inherited classes and the code won't compile unless all
the inheriting classes are fixed by hand.



0

I don't know, but, with the exception of some exceptional circumstances,
applying a quick fix should never leave the code in a broken state. At least
this is the philosophy I would like to see ReSharper apply to all quick
fixes and refactorings.

"Andrew Serebryansky"  wrote in message
news:c8a898dd123d38cdecd7c78fcb07@news.intellij.net...

Hello Greg,

Do I understand correctly that this didn't happen in previous builds? Thank
you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

If I use the quick fix icon to change the accessibility of a virtual
member in a base class, ReSharper  does not change the accessibility
in any of the inherited classes and the code won't compile unless all
the inheriting classes are fixed by hand.

>

0

Hello Greg,

This is rather a context action and not a quick-fix. The difference is that
a context action is used to do small local changes and is not supposed to
conduct such global refactoring such as updating visibility everywhere. You're
welcome to vote for the following request: http://youtrack.jetbrains.net/issue/RSRP-29149.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I don't know, but, with the exception of some exceptional
circumstances, applying a quick fix should never leave the code in a
broken state. At least this is the philosophy I would like to see
ReSharper apply to all quick fixes and refactorings.

"Andrew Serebryansky"  wrote in message
news:c8a898dd123d38cdecd7c78fcb07@news.intellij.net...

Hello Greg,

Do I understand correctly that this didn't happen in previous builds?
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> If I use the quick fix icon to change the accessibility of a virtual
>> member in a base class, ReSharper  does not change the accessibility
>> in any of the inherited classes and the code won't compile unless all
>> the inheriting classes are fixed by hand.
>>


0

Please sign in to leave a comment.