Hello, Please fill a bug report on http://bugzilla.xamarin.com and provide us with: a) small test case: e.g. what's the type of _entries, how's IMyType is defined; b) the previous MonoTouch version number you were using; c) your linker settings for your device builds (e.g. "Don't link", "Link SDK assemblies" or "Link all").
Thanks, Sebastien On Thu, Sep 22, 2011 at 12:50 PM, trip <[email protected]> wrote: > Just updated to the latest stable MonoTouch and now code that did work is > throwing a JIT. > > I'm doing something like the below: > > var count = _entries.OfType<IMyType>().LongCount(); > > > But this is now throwing a JIT: > > System.ExecutionEngineException has been thrown > > Attempting to JIT compile method > 'System.Linq.Enumerable:OfType<IMyType> > (System.collections.IEnumerable)' while running with --aot-only. > > Any ideas? I presume something has changed with MonoTouch, is it a bug or am > I doing something wrong? > > Thanks > > T > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Updated-MonoTouch-Now-get-a-Exception-Attempting-to-JIT-compile-method-System-Linq-Enumerable-OfType-tp3833993p3833993.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
