[Mono-bugs] [Bug 503435] BinaryFormatter.Deserialize attempts to set stream Position (causes exception with BZip2InputStream)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 13 10:31:38 EDT 2009


User mtraudt at quantifisolutions.com added comment

--- Comment #1 from Mark Traudt <mtraudt at quantifisolutions.com>  2009-05-13 08:31:38 MDT ---
Just wondering if maybe the solution is just to remove the call in the
Deserialize method to set the Position.  I noticed this in the MSDN docs for

"For successful deserialization, the current position in the stream must be at
the beginning of the object graph."

I could be wrong, but I read this as meaning it is the responsibility of the
caller to make sure the stream is positioned properly.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list