提交 bcc0f424 编写于 作者: M Manish Vasani

Address review feedback

上级 fbbb0980
......@@ -175,13 +175,10 @@ void processMembers(IEnumerable<ISymbol> members)
memberSet.Add(member);
// Ensure that we include symbols for both parts of partial methods.
if (member is IMethodSymbol method)
if (member is IMethodSymbol method &&
!(method.PartialImplementationPart is null))
{
var otherPartOfPartialOpt = method.PartialDefinitionPart ?? method.PartialImplementationPart;
if (otherPartOfPartialOpt != null)
{
memberSet.Add(otherPartOfPartialOpt);
}
memberSet.Add(method.PartialImplementationPart);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册