[Mono-bugs] [Bug 81122][Maj] Changed - [PATCH] Deserializing a resource of type byte[] fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 12 16:41:58 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 frederik.carlier at ugent.be.

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

--- shadow/81122	2007-03-12 15:40:57.000000000 -0500
+++ shadow/81122.tmp.10328	2007-03-12 15:41:58.000000000 -0500
@@ -11,13 +11,13 @@
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: frederik.carlier at ugent.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Deserialzing a resource of type byte[] fails
+Summary: [PATCH] Deserializing a resource of type byte[] fails
 
 Description of Problem:
 This is a bug in the System.Resources namespace, exposed in resgen. Trying
 to use resgen for a resource of type byte[] yields an exception
 
 Steps to reproduce the problem:
@@ -86,6 +86,13 @@
 --- End of inner exception stack trace ---
 
 ------- Additional Comments From frederik.carlier at ugent.be  2007-03-12 15:40 -------
 Created an attachment (id=18886)
 Proposed fix
 
+
+------- Additional Comments From frederik.carlier at ugent.be  2007-03-12 15:41 -------
+Attached a proposed fix. It returns the byte[] array that is used to
+read the contents of the files when detected that the requested type
+is System.Byte[].
+
+I did not test this with other array types.


More information about the mono-bugs mailing list