https://bugzilla.novell.com/show_bug.cgi?id=646298
https://bugzilla.novell.com/show_bug.cgi?id=646298#c0 Summary: CSC Incompatibility: Multiple events cannot be declared on one line Classification: Mono Product: Mono: Compilers Version: 2.8.x Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=394769) --> (http://bugzilla.novell.com/attachment.cgi?id=394769) Test User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5 Trying to compile a source file that declares multiple events on one line results in a spew of senseless errors to stderr from gmcs. The attached file produces the following set of errors: saul:~ bojanrajkovic$ gmcs test.cs test.cs(17,38): error CS0106: The modifier `public' is not valid for this item test.cs(17,38): error CS0106: The modifier `abstract' is not valid for this item test.cs(17,38): error CS0106: The modifier `virtual' is not valid for this item test.cs(17,47): error CS0106: The modifier `public' is not valid for this item test.cs(17,47): error CS0106: The modifier `abstract' is not valid for this item test.cs(17,47): error CS0106: The modifier `virtual' is not valid for this item test.cs(17,57): error CS0106: The modifier `public' is not valid for this item test.cs(17,57): error CS0106: The modifier `abstract' is not valid for this item test.cs(17,57): error CS0106: The modifier `virtual' is not valid for this item test.cs(17,66): error CS0106: The modifier `public' is not valid for this item test.cs(17,66): error CS0106: The modifier `abstract' is not valid for this item test.cs(17,66): error CS0106: The modifier `virtual' is not valid for this item mono --version: saul:~ bojanrajkovic$ mono --version Mono JIT compiler version 2.8 (tarball Tue Oct 5 14:16:19 MDT 2010) Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com TLS: normal SIGSEGV: normal Notification: Thread + polling Architecture: x86 Disabled: none Misc: debugger softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC) gmcs --version: saul:~ bojanrajkovic$ gmcs --version Mono C# compiler version 2.8.0.0 Reproducible: Always Steps to Reproduce: 1. Try to compile the attached file with gmcs. Actual Results: Errors, compilation fails. Expected Results: Compilation should succeed. -- Configure bugmail: https://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
