Skip to content

Commit c4d8615

Browse files
REstore
1 parent 1365e7a commit c4d8615

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Extensions/ExpressionSyntaxExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ public static ExpressionSyntax Parenthesize(
4242
if (expression.IsKind(SyntaxKind.ThrowExpression))
4343
return expression;
4444

45-
if (expression is IdentifierNameSyntax)
46-
return expression;
47-
4845
var result = ParenthesizeWorker(expression, includeElasticTrivia);
4946
return addSimplifierAnnotation
5047
? result.WithAdditionalAnnotations(Simplifier.Annotation)

0 commit comments

Comments
 (0)