Class MemoryPackAllowSerializeAttribute
- Namespace
- MemoryPack
- Assembly
- Chronicler.MemoryPackShim.dll
Carries the field or property opt-in marker.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class MemoryPackAllowSerializeAttribute : Attribute
- Inheritance
-
MemoryPackAllowSerializeAttribute
- Inherited Members
Remarks
This compatibility attribute preserves metadata in Lean builds.
Constructors
MemoryPackAllowSerializeAttribute()
public MemoryPackAllowSerializeAttribute()