[549751] Fix EntryPoint code generation
9 files changed