+ static object delegate_8_args_res;
+
+ public static int test_0_delegate_8_args () {
+ delegate_8_args_res = null;
+ Action<string, string, string, string, string, string, string,
+ string> test = (a, b, c, d, e, f, g, h) =>
+ {
+ delegate_8_args_res = h;
+ };
+ test("a", "b", "c", "d", "e", "f", "g", "h");
+ return delegate_8_args_res == "h" ? 0 : 1;
+ }
+
+ static void throw_catch_t<T> () where T: Exception {
+ try {
+ throw new NotSupportedException ();
+ } catch (T) {
+ }
+ }
+
+ public static int test_0_gshared_catch_open_type () {
+ throw_catch_t<NotSupportedException> ();
+ return 0;
+ }
+
+ class ThrowClass<T> where T: Exception {
+ public void throw_catch_t () {
+ try {
+ throw new NotSupportedException ();
+ } catch (T) {
+ }
+ }
+ }
+
+ public static int test_0_gshared_catch_open_type_instance () {
+ var c = new ThrowClass<NotSupportedException> ();
+ c.throw_catch_t ();
+ return 0;
+ }