You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@@ -26,7 +26,7 @@ dtest-app.exe: Test/dtest-app.cs $(TEST_HELPERS_SOURCES)
|
||||
$(CSCOMPILE) -r:$(topdir)/class/lib/$(PROFILE)/System.Core.dll -r:$(topdir)/class/lib/$(PROFILE)/System.dll -out:$@ -unsafe $(PLATFORM_DEBUG_FLAGS) -optimize- Test/dtest-app.cs $(TEST_HELPERS_SOURCES)
|
||||
|
||||
dtest-excfilter.exe: Test/dtest-excfilter.il
|
||||
MONO_PATH=$(topdir)/class/lib/$(PROFILE) $(INTERNAL_ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
|
||||
$(ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
|
||||
|
||||
else
|
||||
|
||||
|
||||
@@ -343,7 +343,8 @@ public class Tests : TestsBase, ITest2
|
||||
gc_suspend ();
|
||||
set_ip ();
|
||||
step_filters ();
|
||||
local_reflect ();
|
||||
if (args.Length > 0 && args [0] == "local-reflect")
|
||||
local_reflect ();
|
||||
if (args.Length > 0 && args [0] == "domain-test")
|
||||
/* This takes a lot of time, so execute it conditionally */
|
||||
domains ();
|
||||
@@ -356,6 +357,7 @@ public class Tests : TestsBase, ITest2
|
||||
if (args.Length > 0 && args [0] == "invoke-abort")
|
||||
new Tests ().invoke_abort ();
|
||||
new Tests ().evaluate_method ();
|
||||
Bug59649 ();
|
||||
return 3;
|
||||
}
|
||||
|
||||
@@ -1719,6 +1721,11 @@ public class Tests : TestsBase, ITest2
|
||||
attach_break ();
|
||||
}
|
||||
}
|
||||
|
||||
public static void Bug59649 ()
|
||||
{
|
||||
UninitializedClass.Call();//Breakpoint here and step in
|
||||
}
|
||||
}
|
||||
|
||||
public class SentinelClass : MarshalByRefObject {
|
||||
@@ -1797,5 +1804,23 @@ public class LineNumbers
|
||||
}
|
||||
}
|
||||
|
||||
class UninitializedClass
|
||||
{
|
||||
static string DummyCall()
|
||||
{
|
||||
//Should NOT step into this method
|
||||
//if StepFilter.StaticCtor is set
|
||||
//because this is part of static class initilization
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
static string staticField = DummyCall();
|
||||
|
||||
public static void Call()
|
||||
{
|
||||
//Should step into this method
|
||||
//Console.WriteLine ("Call called");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
94316e7e9644e47a94a5d9b28932a0377d822191
|
||||
baa41091ff26fd05cb8ef05525565e96e4d31f82
|
||||
Reference in New Issue
Block a user