[interp] throw overflow exception on long to ulong cast where long is negative
[mono.git] / mono / mini / exceptions.cs
index 98c6046e61a5cdea5dab273ee1b289d63c26a7b5..cf1fbb9ec1ce80955cdb54121f5ec3ff130581b6 100644 (file)
@@ -1842,6 +1842,7 @@ class Tests
                7, 0, 7, 1, 7, 2, 7, 3, 7, 4, 7, 5, 7, 6, 7, 7, 7, 8,
        };
 
+       [Category ("!INTERPRETER")]
        public static int test_0_multi_dim_array_access () {
                int [,] a = System.Array.CreateInstance (typeof (int),
                        new int [] {3,6}, new int [] {2,2 }) as int[,];
@@ -1878,6 +1879,7 @@ class Tests
                o = "buddy";
        }
 
+       [Category ("!INTERPRETER")]
        public static int test_2_array_mismatch () {
                string[] a = { "hello", "world" };
                object[] b = a;
@@ -2230,6 +2232,7 @@ class Tests
                }
        }
 
+       [Category ("!INTERPRETER")]
        public static int test_0_exception_in_cctor () {
                try {
                        Broken.DoSomething ();
@@ -2318,6 +2321,7 @@ class Tests
                Console.WriteLine ();
        }
 
+       [Category ("!INTERPRETER")]
        [Category ("!BITCODE")]
        public static int test_0_rethrow_stacktrace () {
                // Check that rethrowing an exception preserves the original stack trace
@@ -2380,6 +2384,7 @@ class Tests
                }
        }
 
+       [Category ("!INTERPRETER")]
        public static int test_0_array_size () {
                bool failed;
 
@@ -2706,6 +2711,7 @@ class Tests
                public static Foo* pFoo;
        }
 
+       [Category ("!INTERPRETER")]
        /* MS.NET doesn't seem to throw in this case */
        public unsafe static int test_0_ldflda_null_pointer () {
                int* pi = &Foo.pFoo->i;