On 22/03/2012 5:42 a.m., Nic Wise wrote:
as you dont directly refer to TouchDown, it's most likely stripped by the linker.
From what I understand of the system (admittedly not much) it has nothing to do with the linker. The problem is that the Ahead Of Time compiler is not picking up (and compiling) the AddEventHandler. The exception message is: // Attempting to JIT compile method '(wrapper delegate-invoke) <Module>:invoke_void__this___UIControl_EventHandler (MonoTouch.UIKit.UIControl,System.EventHandler)' while running with --aot-only. The thing that is missing (has not been AOT compiled) is... void__this___UIControl_EventHandler(MonoTouch.UIKit.UIControl,System.EventHandler) Looks like the AddEventHandler method to me overloaded to take a UIControl as the first argument. I just ran in to problems with this sort of thing using LINQ. Apparently it is improved in the latest beta. Anyone in the know care to confirm that this analysis is correct? Felix _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
