[Mono-bugs] [Bug 77821][Wis] New - Parser error with partial classes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 17 15:26:58 EST 2006


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 brad.farris at bearingpoint.com.

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

--- shadow/77821	2006-03-17 15:26:58.000000000 -0500
+++ shadow/77821.tmp.923	2006-03-17 15:26:58.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 77821
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: brad.farris at bearingpoint.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Parser error with partial classes
+
+Description of Problem:
+
+The following code fails to compile using gmcs:
+
+class Program
+{
+    public partial class blah
+    {
+    }
+
+    static void Main(string[] args)
+    {
+    }
+}
+
+I'm getting error CS8025: Parsing error, but when compiled using VC#2005
+the code compiles fine.
+
+Steps to reproduce the problem:
+1. gmcs [code file name]
+
+Actual Results:
+[code file name]<4,5>: error CS8025: Parsing error
+Compilation failed: 1 error(s), 0 warnings
+
+Expected Results:
+compilation succeeds
+
+How often does this happen? 
+Every time.


More information about the mono-bugs mailing list