Validate whether an enum type is supplied in EnumConversion

This removes the reflection used in EnumConversion.