You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET 8 class with primary constructors not supported
// Records with primary constructors work:
[MemoryPackable]
public partial record MyClass(int MyInt);
// Class primary constructors fail
// MemoryPackable object 'MyClass' constructor's parameter 'MyInt' must match a serialized member name(case-insensitive)
[MemoryPackable]
public partial class MyClass(int MyInt);
Thank you for your amazing work on the world's fastest serializer!
The text was updated successfully, but these errors were encountered:
.NET 8 class with primary constructors not supported
Thank you for your amazing work on the world's fastest serializer!
The text was updated successfully, but these errors were encountered: