private static bool IsImplicitBoxingConversion(Type source, Type destination)
{
if (source.GetTypeInfo().IsValueType && (destination == typeof(object) || destination == typeof(ValueType)))
return true;
if (source.GetTypeInfo().IsEnum && destination == typeof(Enum))
return true;
return false;
}