Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting of colons in pattern-switch is poor. #9075

Closed
CyrusNajmabadi opened this issue Feb 23, 2016 · 0 comments
Closed

Formatting of colons in pattern-switch is poor. #9075

CyrusNajmabadi opened this issue Feb 23, 2016 · 0 comments

Comments

@CyrusNajmabadi
Copy link
Member

            switch (o)
            {
                default:
                    break;
                case 1:
                    break;
                case int i :
                    break;
                case long i :
                    break;
                case double d :
                    break;
                case null:
                    break;
                case ValueType z :
                    break;
            }

The colons should be flush with the patterns. Instead, there is an errant space between them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants