http://bugzilla.novell.com/show_bug.cgi?id=566370
http://bugzilla.novell.com/show_bug.cgi?id=566370#c0 Summary: Error when generate temp file for xml serialization Classification: Mono Product: Mono: Class Libraries Version: 2.4.x Platform: 32bit OS/Version: FreeBSD Status: NEW Severity: Normal Priority: P5 - None Component: Sys.XML AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; uk; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) I have enum: public enum DoxCompoundKind { [XmlEnum("class")] @class, [XmlEnum("struct")] @struct, union, [XmlEnum("interface")] @interface, protocol, category, exception, file, [XmlEnum("namespace")] @namespace, group, page, example, dir } when I use serialization have errors: Error while compiling generated serializer /var/tmp/581cc59c/68f5f33c.cs(565,74) : error CS1525: Unexpected symbol `class', expecting `identifier' /var/tmp/581cc59c/68f5f33c.cs(566,76) : error CS1525: Unexpected symbol `struct', expecting `identifier' /var/tmp/581cc59c/68f5f33c.cs(568,82) : error CS1525: Unexpected symbol `interface', expecting `identifier' /var/tmp/581cc59c/68f5f33c.cs(573,82) : error CS1525: Unexpected symbol `namespace', expecting `identifier' in temp file /var/tmp/581cc59c/68f5f33c.cs I see this line case "class": return DoxCompoundKind.class; <-- missing @ Reproducible: Always Steps to Reproduce: 1. run program Actual Results: Error while compiling generated serializer /var/tmp/581cc59c/68f5f33c.cs(565,74) : error CS1525: Unexpected symbol `class', expecting `identifier' /var/tmp/581cc59c/68f5f33c.cs(566,76) : error CS1525: Unexpected symbol `struct', expecting `identifier' /var/tmp/581cc59c/68f5f33c.cs(568,82) : error CS1525: Unexpected symbol `interface', expecting `identifier' /var/tmp/581cc59c/68f5f33c.cs(573,82) : error CS1525: Unexpected symbol `namespace', expecting `identifier' FreeBSD 7.2-RELEASE Mono JIT compiler version 2.4.2.3 (tarball Sun Nov 29 14:21:28 EET 2009) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV: normal Notification: Thread + polling Architecture: x86 Disabled: none -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
