- Boolean
- Byte
- byte[]
- char
- short
- int
- long
- ushort
- uint
- ulong
- float
- string
- DateTime
- DateTimeOffset
- TimeSpan
- Double
- Decimal
- BigInteger
- Complex
- Guid
- DBNull
- Uri
- Vector2
- Vector3
- Vector4
- Vector<T>
- Matrix3x2
- Matrix4x4
- Plane
- Quaternion
- TimeZoneInfo
- Enum
- Nullable<T>
- Tuple<...>
- ValueTuple<...>
支持以下类型或实现了该接口的类型:
- Array
- IList
- IList<T>
- Stack<T>
- Queue<T>
- ISet<T>
- System.Collections.Immutable.*
- ICollection<T>
- IEnumerable (需Add方法)
- ConcurrentStack<T>
- ConcurrentQueue<T>
- ConcurrentBag<T>
- NameValueCollection
- System.Collections.Immutable.*
- IDictionary<TKey, TValue>
- IDictionary
- ConcurrentDictionary<TKey, TValue>
- IEnumerable<KeyValuePair<TKey, TValue>>
具有公共无参数构造函数或通过BinaryConstructorAttribute特性指定构造函数(参数名称需与)的类。