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

SA1106 should be reported for the semicolon following a type declaration #1254

Closed
sharwell opened this issue Aug 20, 2015 · 1 comment
Closed
Assignees
Milestone

Comments

@sharwell
Copy link
Member

The following is legal C# code:

class TypeName
{
};

However, the ; at the end is not necessary. It should be treated as an empty statement for the purpose of SA1106.

@pdelvo
Copy link
Member

pdelvo commented Aug 21, 2015

grabbed

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

2 participants