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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82039 --- shadow/82039 2007-07-08 07:38:50.000000000 -0400 +++ shadow/82039.tmp.10643 2007-07-08 07:38:50.000000000 -0400 @@ -0,0 +1,38 @@ +Bug#: 82039 +Product: Mono: Compilers +Version: 1.2 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Parsing error instead of CS0542 + +Compiling the following code snippet results in a parsing error (CS8025) +instead of CS0542. + +To reproduce, compile the following code snippet: + +class Program +{ + void Program (object sender) + { + } +} + +Expected result: + +test.cs(3,7): error CS0542: 'Program': member names cannot be the same as +their enclosing type + +Actual result: + +test.cs(5,9): error CS8025: Parsing error _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
