You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@ -394,6 +394,7 @@ public class Tests : TestsBase, ITest2
|
||||
set_ip ();
|
||||
step_filters ();
|
||||
pointers ();
|
||||
ref_return ();
|
||||
if (args.Length > 0 && args [0] == "local-reflect")
|
||||
local_reflect ();
|
||||
if (args.Length > 0 && args [0] == "domain-test")
|
||||
@ -491,6 +492,8 @@ public class Tests : TestsBase, ITest2
|
||||
ss_fp_clobber ();
|
||||
ss_no_frames ();
|
||||
ss_await ();
|
||||
ss_nested_with_three_args_wrapper();
|
||||
ss_nested_twice_with_two_args_wrapper();
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
@ -602,6 +605,18 @@ public class Tests : TestsBase, ITest2
|
||||
ss_nested_with_two_args(ss_nested_arg (), ss_nested_arg ());
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_nested_with_three_args_wrapper () {
|
||||
ss_nested_with_three_args(ss_nested_arg1 (), ss_nested_arg2 (), ss_nested_arg3 ());
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_nested_twice_with_two_args_wrapper () {
|
||||
ss_nested_with_two_args(ss_nested_arg1 (), ss_nested_with_two_args(ss_nested_arg2 (), ss_nested_arg3 ()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void inspect_enumerator_in_generic_struct() {
|
||||
TestEnumeratorInsideGenericStruct<String, String> generic_struct = new TestEnumeratorInsideGenericStruct<String, String>(new KeyValuePair<string, string>("0", "f1"));
|
||||
@ -612,11 +627,31 @@ public class Tests : TestsBase, ITest2
|
||||
return a1 + a2;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static int ss_nested_with_three_args (int a1, int a2, int a3) {
|
||||
return a1 + a2 + a3;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static int ss_nested_arg () {
|
||||
return 0;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static int ss_nested_arg1 () {
|
||||
return 0;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static int ss_nested_arg2 () {
|
||||
return 0;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static int ss_nested_arg3 () {
|
||||
return 0;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_nested_1 (int i) {
|
||||
}
|
||||
@ -1828,6 +1863,27 @@ public class Tests : TestsBase, ITest2
|
||||
fixed (int* pa = a)
|
||||
pointer_arguments (pa, &s);
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ref_return () {
|
||||
|
||||
}
|
||||
|
||||
static int ret_val = 1;
|
||||
public static ref int get_ref_int() {
|
||||
return ref ret_val;
|
||||
}
|
||||
|
||||
static string ref_return_string = "byref";
|
||||
public static ref string get_ref_string() {
|
||||
return ref ref_return_string;
|
||||
}
|
||||
|
||||
|
||||
static BlittableStruct ref_return_struct = new BlittableStruct () { i = 1, d = 2.0 };
|
||||
public static ref BlittableStruct get_ref_struct() {
|
||||
return ref ref_return_struct;
|
||||
}
|
||||
}
|
||||
|
||||
public class SentinelClass : MarshalByRefObject {
|
||||
|
Reference in New Issue
Block a user