C++11, C#: Fix parsing of enums with a base type inside classes