Re: [mono-android] InvalidCastException in release mode

2012-11-09 Thread Jeremy A. Kolb - ARA/NED
Of Jonathan Pryor Sent: Friday, November 09, 2012 10:45 AM To: Discussions related to Mono for Android Subject: Re: [mono-android] InvalidCastException in release mode On Nov 8, 2012, at 3:48 PM, Jeremy A. Kolb - ARA/NED wrote: > I'm seeing this exception in release mode only. I have a

Re: [mono-android] InvalidCastException in release mode

2012-11-09 Thread Jonathan Pryor
On Nov 8, 2012, at 3:48 PM, Jeremy A. Kolb - ARA/NED 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

[mono-android] InvalidCastException in release mode

2012-11-08 Thread Jeremy A. Kolb - ARA/NED
I'm seeing this exception in release mode only. I have a fragment that implements LoaderManager.ILoaderCallbacks: public void OnLoadFinished(Loader loader, Java.Lang.Object data) { switch(loader.Id) { case PersonnelListLoaderId: