Generate assembly at runtime