Unreachable code detected in case statement
<p>I have a code:</p>

<pre><code>    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    {
        switch (keyData)
        {
            case Keys.Alt|Keys.D1:

                if (this._condition1)
                {
                    return true;
                }
                else
                {
                    return base.ProcessCmdKey(ref msg, keyData);
                }

                break;

            case Keys.Control |Keys.U:

                if (this._condition2)
                {
                    return true;
                }
                else
                {
                    return base.ProcessCmdKey(ref msg, keyData);
                }

                break;

            default:

                return base.ProcessCmdKey(ref msg, keyData);
        }

        return true;
</code></pre>

<p>It gives me "unreachable code detected" warning on breaks.</p>

<p><em>Is it good practice not to use break operator here</em> ? I don't want to turn off "unreachable code detected" warning. </p>

<p>PS: There are many <strong>case</strong> in my ProcessCmdKey method.</p>
