+2003-12-08 Zoltan Varga <vargaz@freemail.hu>
+
+ * driver.c (mono_main): Call mono_verify_corlib.
+
2003-12-07 Lluis Sanchez Gual <lluis@ximian.com>
* inssel.brg: In CEE_ISINST and CEE_CASTCLASS, removed check for proxy.
#include <mono/metadata/profiler-private.h>
#include <mono/metadata/mono-config.h>
#include <mono/metadata/environment.h>
+#include <mono/metadata/verify.h>
#include <mono/metadata/mono-debug.h>
#include <mono/metadata/mono-debug-debugger.h>
mono_debug_init_2 (assembly);
if (mono_compile_aot || action == DO_EXEC) {
+ guint32 error;
+
mono_config_parse (config_file);
//mono_set_rootdir ();
+ error = mono_verify_corlib ();
+ if (error) {
+ fprintf (stderr, "Corlib not in sync with this runtime: %s\n", error);
+ exit (1);
+ }
+
main_args.domain = domain;
main_args.file = aname;
main_args.argc = argc - i;