fix issue 10542 - implicitly generated class ctor doesnt inherit base
class ctor attributes