提交 e83ff3ff 编写于 作者: C Cyrus Najmabadi 提交者: Sam Harwell

Remove unnecessary null check

上级 2491a58c
......@@ -907,11 +907,6 @@ private static bool CanReplace(ISymbol symbol)
replacementNode = memberAccess.GetNameWithTriviaMoved();
issueSpan = memberAccess.Expression.Span;
if (replacementNode == null)
{
return false;
}
return CanReplaceWithReducedName(memberAccess, replacementNode, semanticModel, cancellationToken);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册