http://bugzilla.novell.com/show_bug.cgi?id=336258

http://bugzilla.novell.com/show_bug.cgi?id=336258#c7


Jonathan Pryor <jpr...@novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpr...@novell.com

--- Comment #7 from Jonathan Pryor <jpr...@novell.com> 2010-01-07 17:30:23 UTC 
---
This also happens in iterator methods, e.g.

static IEnumerable<string> Foo(params string[] bars)
{
    foreach (var s in bars) {
        switch (s) {
            case "Foo":
            case "Bar":
            case "Baz":
                yield return s;
        }
    }
}


results in:

error CS0163: Control cannot fall through from one case label to another

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to