Fix Issue 10285 - Enum member with a type but no identifier should not be allowed.