Re: Embedded API: thunk value type parameters and return types

Jonathan Mitchell <[email protected]> Fri, 23 Sep 2016 22:02:50 +0100
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
> On 23 Sep 2016, at 15:04, Jonathan Mitchell <[email protected]> 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

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.dot.net/mailman/listinfo/mono-list