Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=82124

--- shadow/82124        2007-08-08 09:07:04.000000000 -0400
+++ shadow/82124.tmp.21914      2007-08-08 17:25:28.000000000 -0400
@@ -80,6 +80,35 @@
 stack frame above the current one - the same effect occurs. Throwing
 an exception in the method, catching it and printing, otoh, works
 properly - but only the current frame is printed.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2007-08-08 09:07 -------
 Also, the call to Close() is made cross AppDomain boundaries
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-08-08 17:25 -------
+A minimal testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+public class Tests : MarshalByRefObject {
+
+       public void foo (int id) {
+               if (id == 5) {
+                       AppDomain domain = AppDomain.CreateDomain ("Test5");
+                       Tests o = (Tests)domain.CreateInstanceFromAndUnwrap 
(typeof
+(Tests).Assembly.Location, "Tests");
+               
+                       o.foo (6);
+               } else {
+                       Console.WriteLine (Environment.StackTrace);
+               }
+       }
+
+       public static void Main (String[] args) {
+               AppDomain domain = AppDomain.CreateDomain ("Test4");
+               Tests o = (Tests)domain.CreateInstanceFromAndUnwrap (typeof
+(Tests).Assembly.Location, "Tests");
+               
+               o.foo (5);
+       }
+}
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to