Skip to content

Fix that the SA1119 code fix can produce invalid syntax.#450

Closed
pdelvo wants to merge 1 commit intoDotNetAnalyzers:masterfrom
pdelvo:fix-449
Closed

Fix that the SA1119 code fix can produce invalid syntax.#450
pdelvo wants to merge 1 commit intoDotNetAnalyzers:masterfrom
pdelvo:fix-449

Conversation

@pdelvo
Copy link
Member

@pdelvo pdelvo commented Feb 4, 2015

If the opening parenthesis does not have leading trivia in some cases the code fix would merge the leading node (token) and the syntax node (token) in the parenthesis creating invalid syntax.

Fixes #449

If the opening parenthesis does not have leading trivia in some cases the code fix would merge the leading node (token) and the syntax node (token) in the parenthesis creating invalid syntax.
@pdelvo
Copy link
Member Author

pdelvo commented Feb 4, 2015

Weird that the test failed. It works on my machine.

@sharwell
Copy link
Member

sharwell commented Feb 4, 2015

We need a way to check the fix all provider here too. Any ideas?

@sharwell
Copy link
Member

sharwell commented Feb 6, 2015

Superseded by #453

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.

SA1119 code fix needs to add whitespaces

2 participants