SoftStoneDevelop/StackMemoryCollections.Attributes

Add AsPointer attribute

Closed this issue · 0 comments

For Add generation mode: Treat classes as references.

This attribute tells the generator that this property (only a class) is being used as an IntPtr, not as a value. IntPtr uses less memory than if generated as a value (similar to if a property were a struct).