[Mono-bugs] [Bug 60516][Wis] New - Mono allows serialization of internal classes
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Jun 2004 19:24:42 -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 grompf@sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60516
--- shadow/60516 2004-06-21 19:24:42.000000000 -0400
+++ shadow/60516.tmp.13328 2004-06-21 19:24:42.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 60516
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: OSX 10.3.3
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: grompf@sublimeintervention.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono allows serialization of internal classes
+
+Mono Beta 3 allows serialization of internal classes; while MS.Net throws an exception; compile
+the code
+below on both Mono and MS.NET:
+
+
+using System;
+using System.Xml;
+using System.Xml.Serialization;
+
+public class Test {
+ static void Main(string[] args) {
+ XmlSerializer s = new XmlSerializer(typeof(Foo));
+ }
+
+
+ [XmlRoot("foo")]
+ internal class Foo {
+ public String bar;
+ }
+
+}