You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -307,6 +307,7 @@ public class Tests : TestsBase, ITest2
|
||||
regress ();
|
||||
gc_suspend ();
|
||||
set_ip ();
|
||||
step_filters ();
|
||||
if (args.Length > 0 && args [0] == "domain-test")
|
||||
/* This takes a lot of time, so execute it conditionally */
|
||||
domains ();
|
||||
@ -1162,6 +1163,12 @@ public class Tests : TestsBase, ITest2
|
||||
AppDomain.Unload (domain);
|
||||
|
||||
domains_3 ();
|
||||
|
||||
typeof (Tests).GetMethod ("called_from_invoke").Invoke (null, null);
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void called_from_invoke () {
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
@ -1361,15 +1368,33 @@ public class Tests : TestsBase, ITest2
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void set_ip () {
|
||||
int i, j;
|
||||
int i = 0, j;
|
||||
|
||||
i = 1;
|
||||
i ++;
|
||||
i ++;
|
||||
set_ip_1 ();
|
||||
i = 5;
|
||||
i ++;
|
||||
j = 5;
|
||||
set_ip_2 ();
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void step_filters () {
|
||||
ClassWithCctor.cctor_filter ();
|
||||
}
|
||||
|
||||
class ClassWithCctor {
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
static ClassWithCctor () {
|
||||
int i = 1;
|
||||
int j = 2;
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void cctor_filter () {
|
||||
}
|
||||
}
|
||||
|
||||
public override string virtual_method () {
|
||||
return "V2";
|
||||
}
|
||||
|
Reference in New Issue
Block a user