Author: martin
Date: 2008-02-06 03:42:32 -0500 (Wed, 06 Feb 2008)
New Revision: 95001
Modified:
branches/martin/debugger-terrania/debugger/test/src/TestAnonymous.cs
branches/martin/debugger-terrania/debugger/test/testsuite/TestAnonymous.cs
Log:
Modified: branches/martin/debugger-terrania/debugger/test/src/TestAnonymous.cs
===================================================================
--- branches/martin/debugger-terrania/debugger/test/src/TestAnonymous.cs
2008-02-06 08:40:05 UTC (rev 95000)
+++ branches/martin/debugger-terrania/debugger/test/src/TestAnonymous.cs
2008-02-06 08:42:32 UTC (rev 95001)
@@ -45,8 +45,10 @@
public class X
{
- public void Hello<U> (U u)
- { } // @MDB
BREAKPOINT: test2 hello
+ public U Hello<U> (U u)
+ {
+ return u;
+ } // @MDB
BREAKPOINT: test2 hello
public void Test<T> (T t)
{
Modified:
branches/martin/debugger-terrania/debugger/test/testsuite/TestAnonymous.cs
===================================================================
--- branches/martin/debugger-terrania/debugger/test/testsuite/TestAnonymous.cs
2008-02-06 08:40:05 UTC (rev 95000)
+++ branches/martin/debugger-terrania/debugger/test/testsuite/TestAnonymous.cs
2008-02-06 08:42:32 UTC (rev 95001)
@@ -83,6 +83,8 @@
AssertExecute ("continue");
AssertHitBreakpoint (thread, "test2 hello",
"Test2.X.Hello(U)");
+ AssertPrint (thread, "u", "(int) 3");
+ AssertType (thread, "u", "int");
AssertExecute ("continue");
AssertHitBreakpoint (thread, "test2 after foo",
"Test2.X.Test(T)");
@@ -97,9 +99,13 @@
AssertExecute ("continue");
AssertHitBreakpoint (thread, "test2 hello",
"Test2.X.Hello(U)");
+ AssertPrint (thread, "u", "(int) 3");
+ AssertType (thread, "u", "int");
AssertExecute ("continue");
AssertHitBreakpoint (thread, "test2 hello",
"Test2.X.Hello(U)");
+ AssertPrint (thread, "u", "(int) 3");
+ AssertType (thread, "u", "int");
AssertExecute ("continue");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches