On Nov 8, 2012, at 3:48 PM, Jeremy A. Kolb - ARA/NED <[email protected]> wrote:
> I’m seeing this exception in release mode only.  I have a fragment that 
> implements LoaderManager.ILoaderCallbacks:
...
> In release mode the cast to ICursor fails even though it is a CursorWrapper.  
> I’m not sure why it happens in release but not debug.

That is very odd; sounds like it could be a linker bug. Would it be possible 
for you to file a bug about this?

As a workaround, does `data.JavaCast<ICursor>()` work instead of 
`(ICursor)data`?

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to