Unused property getters

Hi,

I very often have the warning "Accessor xxx is never used", when its just a getter of a property which isn't used. I know the underlying mechanism, but I think its very bad style to delete the getter (and leaving the setter only), just because it isn't used anywhere. In case of user controls it would even cause errors in the designer. Is there any better option than marking every single getter with "ReSharper disable once UnusedMember.Global" while still having Resharper telling me of other really unused members?

I would love an option like "Don't flag property gets as unsused when the setter is used."

Kind regards,
Robert

1

Please sign in to leave a comment.