[Mono-list] Embedded API: thunk value type parameters and return types
Jonathan Mitchell
lists at mugginsoft.com
Fri Sep 23 14:04:14 UTC 2016
HI Robert
> On 23 Sep 2016, at 12:17, Robert Jordan <robertj at gmx.net> wrote:
>>
>
> The limitation only applies to "complex" value types:
>
> (type.IsValueType && !type.IsPrimitive) == true
>
Thanks for that.
I did a bit more work on getting my unit tests to pass
https://github.com/ThesaurusSoftware/Dubrovnik/blob/BPUKM-1617/Framework/XCode/Dubrovnik%20Unit%20Tests/Dubrovnik_Unit_Tests.m
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
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20160923/27d44eb9/attachment.html>
More information about the Mono-list
mailing list