[MonoTouch] Another "Attempting to JIT compile method" Exception
Tim Scott
tscott at lunaversesoftware.com
Sat Nov 28 10:39:03 EST 2009
Anybody? Should I file a bug ticket?
On 11/26/09 5:52 PM, "Tim Scott" <tscott at lunaversesoftware.com> wrote:
> Given this:
>
> var propertyInfo = typeof(Foo).GetProperty("SomeNullableDateTimeProperty");
> var foo = new Foo();
> propertyInfo.SetValue(foo, DateTime.Now, null);
>
> I get an exception:
>
> System.Reflection.TargetInvocationException:
> Exception has been thrown by the target of an invocation. --->
> System.ExecutionEngineException: Attempting to JIT compile method
> '(wrapper runtime-invoke)
> <Module>:runtime_invoke_void__this___Nullable`1<DateTime>
> (object,intptr,intptr,intptr)' while running with --aot-only.
>
> Should we be able to set a nullable (DateTime or other) property via
> reflection?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20091128/a617bd0a/attachment.html
More information about the MonoTouch
mailing list