2008-03-31 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 31 Mar 2008 14:18:36 +0000 (14:18 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 31 Mar 2008 14:18:36 +0000 (14:18 -0000)
* AssemblyRunner.cs: Mark TypeLoadException as invalid code.

svn path=/trunk/mono/; revision=99422

mono/tests/verifier/AssemblyRunner.cs
mono/tests/verifier/ChangeLog

index 9d62f5302719f26933ec7950217946caa62da130..9b027d76cd9a8228092e42ed3dce2835dbdbd89c 100644 (file)
@@ -141,7 +141,7 @@ namespace AssemblyRunner {
                        } catch (MemberAccessException) {
                                return RunResult.unverifiable;
                        } catch (TypeLoadException) {
-                               return RunResult.unverifiable;
+                               return RunResult.invalid;
                        } catch (BadImageFormatException) {
                                return RunResult.invalid; 
                        } catch (Exception e) {
@@ -162,7 +162,8 @@ namespace AssemblyRunner {
                                "MissingMethodException",
                                "InvalidProgramException",
                                "FileLoadException",
-                               "BadImageFormatException"
+                               "BadImageFormatException",
+                               "TypeLoadException"
                        };
 
                        foreach (String str in knownErrors) {
index dcac3f9848c33fe79210d77322b23dfd5f6b6380..f65410a84221903d1510c3807746f3006766b4e0 100644 (file)
@@ -1,3 +1,7 @@
+2008-03-31 Rodrigo Kumpera <rkumpera@novell.com>
+
+       * AssemblyRunner.cs: Mark TypeLoadException as invalid code.
+
 2008-03-25 Rodrigo Kumpera <rkumpera@novell.com>
 
        * valid_branch_to_first_prefix.il: Test branching to the first prefix