[Mono-bugs] [Bug 78164][Wis] Changed - [PATCH]
RemotingServices.IsObjectOutOfAppDomain throws InvalidCastException
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Apr 22 19:20:07 EDT 2006
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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=78164
--- shadow/78164 2006-04-22 13:57:06.000000000 -0400
+++ shadow/78164.tmp.23632 2006-04-22 19:20:07.000000000 -0400
@@ -1,27 +1,32 @@
Bug#: 78164
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: System
AssignedTo: mono-bugs at ximian.com
ReportedBy: colin at breame.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: RemotingServices.IsObjectOutOfAppDomain throws InvalidCastException
+Summary: [PATCH] RemotingServices.IsObjectOutOfAppDomain throws InvalidCastException
using System.Runtime.Remoting;
public class test_t {
public static void Main() {
RemotingServices.IsObjectOutOfAppDomain("test");
}
}
when run it throws InvalidCastException. Not entirely sure how the MS
version works but I would expect IsObjectOutOfAppDomain to return false.
+
+------- Additional Comments From robertj at gmx.net 2006-04-22 19:20 -------
+It throws because it doesn't check the argument.
+Patch attached.
+
More information about the mono-bugs
mailing list