[cs] Added -D coreApiSerialize
[cs] respect core_api_serialize : enums.