[Mono-list] Embedded API: thunk value type parameters and return types
Jonathan Mitchell
lists at mugginsoft.com
Fri Sep 23 21:02:50 UTC 2016
> On 23 Sep 2016, at 15:04, Jonathan Mitchell <lists at mugginsoft.com> wrote:
>
> Based on that I would say that a “complex” value thunk type has a slightly wider scope:
>
> (type.IsValueType && !(type.IsPrimitive || type.IsEnum || type.IsPointer ) == true
>
Oops - pointers are not value types.
(type.IsValueType && !(type.IsPrimitive || type.IsEnum) || !type.IsPointer == true
J
More information about the Mono-list
mailing list