using System;
using System.Collections.Generic;
using MemoryPack;
public class Program
{
public static void Main()
{
var person = new Person();
var bin = MemoryPackSerializer.Serialize(person);
}
[MemoryPackable]
public partial class Person
{
public List<int> IntItems { get; set; }
public List<string> StringItems { get; set; }
}
}
error MEMPACK042: The MemoryPackable object 'Person' containing type(s) must be partial
the docs says int, string, List<> are supported