[Mono-bugs] [Bug 42779][Nor] Changed - Type.IsSerializable should be true for any kind of arrays
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 12 May 2003 12:06:06 -0400 (EDT)
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=42779
--- shadow/42779 Sun May 11 23:56:54 2003
+++ shadow/42779.tmp.26035 Mon May 12 12:06:06 2003
@@ -1,16 +1,16 @@
Bug#: 42779
-Product: Mono/Class Libraries
+Product: Mono/Runtime
Version: unspecified
OS: All
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
-Component: CORLIB
+Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: jean-marc.andre@polymtl.ca
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
@@ -102,6 +102,33 @@
------- Additional Comments From jean-marc.andre@polymtl.ca 2003-05-11 23:56 -------
Created an attachment (id=4274)
here is the test file because the listing above looks ugly
+
+------- Additional Comments From gonzalo@ximian.com 2003-05-12 12:06 -------
+Compile and run this simple test:
+--------
+using System;
+class Test
+{
+ static void Main ()
+ {
+ Type t = typeof (Type []);
+ Console.WriteLine ("IsSerializable? {0}", t.IsSerializable);
+ Console.WriteLine ("Attributes: {0}", t.Attributes);
+ }
+}
+---------
+
+The output under MS runtime is:
+IsSerializable? True
+Attributes: AutoLayout, AnsiClass, NotPublic, Public, Sealed, Serializable
+
+
+but under mono:
+IsSerializable? False
+Attributes: Public
+
+I'm assigning this bug to the runtime because a csc compiled exe
+produces the same results, so it's not a compiler problem.