We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1365e7a commit c4d8615Copy full SHA for c4d8615
src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Extensions/ExpressionSyntaxExtensions.cs
@@ -42,9 +42,6 @@ public static ExpressionSyntax Parenthesize(
42
if (expression.IsKind(SyntaxKind.ThrowExpression))
43
return expression;
44
45
- if (expression is IdentifierNameSyntax)
46
- return expression;
47
-
48
var result = ParenthesizeWorker(expression, includeElasticTrivia);
49
return addSimplifierAnnotation
50
? result.WithAdditionalAnnotations(Simplifier.Annotation)
0 commit comments