On 26 Jul 2013, at 14:24, [email protected] wrote:
>
> Will try and figure out what is going on with the tick count.
> The tick count looks okay on the C side as far as I can see.
>
> So perhaps the invocation code is at fault here:
My comprehension was at fault. DateTime is a value type and I wasn't unboxing
it prior to invoking the property:
- (void)setDate:(NSDate *)value
{
MonoObject *monoObject = [value monoDateTime];
// [self setProperty:"Date" valueObject:monoObject]; // BAD
[self setProperty:"Date" valueObject:(MonoObject
*)mono_object_unbox(monoObject)];
}
Jonathan
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list