Skip to content

SA1502 implementation (incl. tests + codefix)#547

Merged
sharwell merged 12 commits intoDotNetAnalyzers:masterfrom
vweijsters:SA1502
May 10, 2015
Merged

SA1502 implementation (incl. tests + codefix)#547
sharwell merged 12 commits intoDotNetAnalyzers:masterfrom
vweijsters:SA1502

Conversation

@vweijsters
Copy link
Contributor

Fixes #103

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If Im not missing something you can change HandleTypeDeclarations to look for BaseTypeDeclarationSyntax. Then it can handle EnumDeclaration too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That will work, yes. I'll change that.

@pdelvo
Copy link
Member

pdelvo commented Apr 6, 2015

Im always amazed how much work you put into the unit tests 👍

@pdelvo
Copy link
Member

pdelvo commented Apr 6, 2015

I think this can be merged when the change to the indentation is reverted 👍

@vweijsters
Copy link
Contributor Author

I reverted the indentation change. I wasn't aware it was changed, I guess Visual Studio formatting caught me by surprise 😄

@pdelvo
Copy link
Member

pdelvo commented Apr 6, 2015

Yes Visual Studio indents these automaticaly. You can be changed in the options if you want.

@sharwell sharwell merged commit b7ecb87 into DotNetAnalyzers:master May 10, 2015
sharwell added a commit that referenced this pull request May 10, 2015
@sharwell sharwell self-assigned this May 10, 2015
@sharwell sharwell added this to the 1.0.0 Alpha 7 milestone May 10, 2015
@vweijsters vweijsters deleted the SA1502 branch May 10, 2015 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SA1502: ElementMustNotBeOnSingleLine

3 participants