Closed xiaoyuvax closed 1 year ago
if u have a member in a MemoryPackable type like this, public new string Description { get; set; }
public new string Description { get; set; }
u'll get this in generated code:
[global::MemoryPack.Internal.Preserve] public static void Deserialize(ref MemoryPackReader reader, scoped ref PluginInfo? value) { if (!reader.TryReadObjectHeader(out var count)) { value = default!; goto END; } string __Description; ... string __Description; ... }
thanks! I've fixed and released.
if u have a member in a MemoryPackable type like this,
public new string Description { get; set; }
u'll get this in generated code: