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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 18 11:15:56 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.


--- shadow/81895	2007-06-18 11:15:56.000000000 -0400
+++ shadow/81895.tmp.31029	2007-06-18 11:15:56.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 81895
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: daniel at hofmannmail.ath.cx               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: System.IO.InvalidDataException has no Serialization-Members
+Description of Problem:
+InvalidDataException is marked as [Serializable] but doesn't implement the
+InvalidDataException(SerializationInfo si, StreamingContext context);
+void ISerializable.GetObjectData (SerializationInfo info, StreamingContext
+As it is derived from System.Exception, which implements ISerializable, I
+believe this class should also implement those members.
+Otherwise, for example when throwing this exception over AppDomain-Borders,
+it cannot be serialized.
+Additional Information:
+- I might attach a TestCase if necessary, but probably this doesn't require
+one ?

More information about the mono-bugs mailing list