[Mono-bugs] [Bug 81895][Nor] Changed - System.IO.InvalidDataException has no Serialization-Members

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 18 12:12:04 EDT 2007


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 daniel at hofmannmail.ath.cx.

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

--- shadow/81895	2007-06-18 11:53:08.000000000 -0400
+++ shadow/81895.tmp.31975	2007-06-18 12:12:04.000000000 -0400
@@ -4,13 +4,13 @@
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
-Component: System
+Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: daniel at hofmannmail.ath.cx               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -51,6 +51,31 @@
 Thanks!
 
 
 ------- Additional Comments From robertj at gmx.net  2007-06-18 11:53 -------
 I see, it must implement one that simply calls base.
 
+
+------- Additional Comments From daniel at hofmannmail.ath.cx  2007-06-18 12:12 -------
+if still needed, this would be a test case:
+
+using System;
+using System.Reflection;
+using System.IO;
+
+public class Test {
+
+    public Test () {
+        throw new InvalidDataException ("Hello World!");
+    }
+
+    public static void Main () {
+
+        AppDomainSetup ads = new AppDomainSetup ();
+        AppDomain ad = AppDomain.CreateDomain ("test", null, ads);
+
+        InvalidDataException ide = (InvalidDataException)
+ad.CreateInstanceAndUnwrap
+(Assembly.GetExecutingAssembly().ToString(), "Test");
+    }
+}
+


More information about the mono-bugs mailing list