I’ve never really been poised with this question: But would it be a terrible crime to call base.SomeMethod() conditionally in an overridden method?
Example as in:
protected override void SomeMethod()
{
if( condition > 0 )
base.SuperMethod();
}
I’m aware that this may be considered bad practice but I’ve actually never read such a claim so far.
I can’t think of a reason why this would be bad off the top of my head.
It’d be a lot worse to override the base method and copy the base method’s functionality to conditionally call instead of just calling the base method.