Example #1
0
	public static extern int mono_test_marshal_delegate10 (SimpleDelegate9 d);
Example #2
0
	public static int test_55_marshal_delegate_delegate () {
		SimpleDelegate9 d = new SimpleDelegate9 (call_int_delegate);

		return mono_test_marshal_delegate9 (d, new return_int_delegate (return_self));
	}
Example #3
0
	public static extern int mono_test_marshal_delegate9 (SimpleDelegate9 d, return_int_delegate d2);
Example #4
0
    public static int test_55_marshal_delegate_delegate()
    {
        SimpleDelegate9 d = new SimpleDelegate9(call_int_delegate);

        return(mono_test_marshal_delegate9(d, new return_int_delegate(return_self)));
    }
Example #5
0
 public static extern int mono_test_marshal_delegate10(SimpleDelegate9 d);
Example #6
0
 public static extern int mono_test_marshal_delegate9(SimpleDelegate9 d, return_int_delegate d2);
    static int test_0_marshal_delegate_delegate_unmanaged_ftn()
    {
        SimpleDelegate9 d = new SimpleDelegate9 (call_int_delegate);

        try {
            mono_test_marshal_delegate10 (d);
            return 1;
        }
        catch (ArgumentException) {
            return 0;
        }

        return 2;
    }