We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
While debugging the code, we can see a lot of unneeded parenthesis are added to the converted code.
A lot of parenthesis are directly over another set of parenthesis and they seems to be added by the AddParens method.
Those extra parenthesis seems unneeded and makes debugging harder (to me at least).
The fix is simple and it also could help a bit to speed up the simplification phase, what do you thing? 1ed28ce
public static ExpressionSyntax AddParens(this ExpressionSyntax expression) { if (expression is ParenthesizedExpressionSyntax) return expression; return SyntaxFactory.ParenthesizedExpression(expression); }
The text was updated successfully, but these errors were encountered:
Feel free to PR, just check if another similar method already exists.
Sorry, something went wrong.
No branches or pull requests
Hello
While debugging the code, we can see a lot of unneeded parenthesis are added to the converted code.
A lot of parenthesis are directly over another set of parenthesis and they seems to be added by the AddParens method.
Those extra parenthesis seems unneeded and makes debugging harder (to me at least).
The fix is simple and it also could help a bit to speed up the simplification phase, what do you thing?
1ed28ce
The text was updated successfully, but these errors were encountered: