Invalid type definition for type '%1!s!', the derivation was illegal because 'final' attribute was specified on the base ...