[Mono-bugs] [Bug 76590][Wis] New - gmcs takes case null for case default

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 29 12:59:37 EDT 2005

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 ats at cs.rit.edu.


--- shadow/76590	2005-10-29 12:59:37.000000000 -0400
+++ shadow/76590.tmp.15033	2005-10-29 12:59:37.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 76590
+Product: Mono: Compilers
+Version: 1.1
+OS Details: Panther
+Status: NEW   
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: ats at cs.rit.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: gmcs takes case null for case default
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+gmcs mistakes case (string)null: for a (duplicate) case default -- error CS0152
+Steps to reproduce the problem:
+1. gmcs IContainer.cs Test.cs Container.cs ## from my C# class notes
+Actual Results:
+Expected Results:
+proper compilation, as with csc in VS 2005 beta 2
+How often does this happen? 
+Additional Information:
+if you comment the case (string)null: in line 74 in file Test.cs the error message disappears.
+Files available upon request or at <http://www.cs.rit.edu/~ats/cs-2005-1/code/adt/> at top 
+level and in subdirectory array.

More information about the mono-bugs mailing list