Xamarin.iOS: System.ExecutionEngineException: Attempting to JIT compile method '(wrapper delegate-begin-invoke) System.IAsyncResult System.Func2<Library.SomeDelegate
1<EEETestCase.AppDelegate>, bool>:begin_invoke_IAsyncResult__this___T_AsyncCallback_object (Library.SomeDelegate`1<EEETestCase.AppDelegate>,System.AsyncCallback,object)'
#14973
Labels
Milestone
Steps to Reproduce
Run this project on an iOS device: eeetestcase2.zip
This looks very similar to #14972, but the difference is that in this case the offending code has to be in a referenced assembly. If it's included in the executable itself, the code works just fine.
This comes from VSTS #900808.
Current Behavior
An ExecutionEngineException, which is printed to the Application Output:
The app also turns red.
Expected Behavior
No ExecutionEngineException (and green screen).
Version Used:
xamarin/xamarin-macios@e89c3271f3c (which is mono/2019-02: bab25c0).
I can also reproduce with the current Xamarin.iOS stable (v12.8.0.2 / d16-0).
The text was updated successfully, but these errors were encountered: