Adding an enumerator to an enumeration a type has been passed as parameter. However, the type parameter is valid for extended enumerations.