[Mono-bugs] [Bug 478101] Missing error CS0136 for same variable in switch statement cases

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 11 16:09:59 EDT 2010



--- Comment #2 from Jonathan Chambers <joncham at gmail.com> 2010-06-11 20:09:58 UTC ---
This causes problems building System.dll with csc. I get the following error
with CSC that is not present with the mono compiler (r158840).

error CS0136: A local variable named 'msg' cannot be declared in this scope
because it would give a different meaning to 'msg', which is already used in a
'child' scope to denote something else

Configure bugmail: http://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.

More information about the mono-bugs mailing list