Summary
Auto
has different behavior depending on the host project's target framework.
.NET Core 2.1: Reference types and value types that contain reference types are cleared when the internal arrays are returned to the pool. Value types that do not contain reference types are not cleared when returned to the pool.
.NET Standard 2.0: All user types are cleared before returning to the pool, in case they contain reference types. For .NET Standard, Auto and Always have the same behavior.
- Namespace
- Avalonia
.Collections .Pooled - Containing Type
- ClearMode
Syntax
Auto
Constant Value
Value | Type |
---|---|
0 | Int32 |