[CorDebug] Fixed issue with enums corrupting the debugger.