private static void LogUnobservedUnawaitedException(System.Exception exception) { if ((HandleUnobservedException != null && HandleUnobservedException (exception)) || HandleUnobservedException == null) { System.Diagnostics.Debug.WriteLine ("LogUnobservedUnawaitedExceptionAsync invoked"); Mint.XamarinException (exception.ToJavaException (), false, null); OnUnhandledExceptionHandled (exception, "System.Exception"); } }