Re: Embedded API: thunk value type parameters and return types
Jonathan Mitchell <[email protected]> Fri, 23 Sep 2016 15:04:14 +0100
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <[email protected]> |
HI Robert > On 23 Sep 2016, at 12:17, Robert Jordan <[email protected]> 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 _______________________________________________ Mono-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/mono-list