提交 22309659 编写于 作者: A Ankita Khera

Tests pass

上级 95b55b18
......@@ -80,13 +80,13 @@ private static bool IsExpressionWithNoName(ExpressionSyntax arg)
{
// Recurse until we find a literal
// If so, then we should add the adornment
IsExpressionWithNoName(cast.Expression);
return IsExpressionWithNoName(cast.Expression);
}
if (arg is PrefixUnaryExpressionSyntax negation)
{
// Recurse until we find a literal
// If so, then we should add the adornment
IsExpressionWithNoName(negation.Operand);
return IsExpressionWithNoName(negation.Operand);
}
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册