提交 1089fe48 编写于 作者: P Petr Houska

Add comment links justyfying decisions in helpersService.

上级 afaf71c4
......@@ -107,6 +107,8 @@ internal abstract class AbstractRefactoringHelpersService<TExpressionSyntax, TAr
// We want to treat more types like expressions, e.g.: ArgumentSyntax should still trigger even if deep-in.
if (IsWantedTypeExpressionLike<TSyntaxNode>())
{
// Reason to treat Arguments (and potentially others) as Expression-like:
// https://github.com/dotnet/roslyn/pull/37295#issuecomment-516145904
await AddNodesDeepIn(document, location, relevantNodesBuilder, cancellationToken).ConfigureAwait(false);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册