Bug 29424 - PropertyInfo.SetValue on Nullable types not working across assemblies
Summary: PropertyInfo.SetValue on Nullable types not working across assemblies
Status: ASSIGNED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime (show other bugs)
Version: XI 8.9.x (iOS 8.3)
Hardware: PC Windows
: Normal normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2015-04-27 10:43 UTC by Michael Mayfield
Modified: 2015-05-05 14:49 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-04-28 06:09:03 UTC
Zoltan, can you have a look? It looks AOT-related (and I can reproduce with both maccore/master and 8.10)

This is the exception I get (on both armv7 and arm64): 

> Attempting to JIT compile method '(wrapper runtime-invoke) <Module>:runtime_invoke_void__this___Nullable`1<DataValue> (object,intptr,intptr,intptr)' while running with --aot-only.

It happens even if the managed linker is disabled.
Comment 2 Zoltan Varga 2015-04-29 17:43:48 UTC
This is a known limitation, it can be worked around by telling the AOT compiler to generate extra code, as it is done in the test case.

Note You need to log in before you can comment on or make changes to this bug.