protected internal override System.Threading.Tasks.Task PackUnderlyingValueToAsync(MsgPack.Packer packer, MsgPack.Serialization.EnumByUnderlyingValue enumValue, System.Threading.CancellationToken cancellationToken) { return(packer.PackAsync(((int)(enumValue)), cancellationToken)); }