private static void RegisterUECatcher() { if (<>f__mg$cache0 == null) { <>f__mg$cache0 = new UnhandledExceptionEventHandler(UnhandledExceptionHandler.HandleUnhandledException);