[cs] add coreapi and final modifiers to EReg