提交 e92e80a1 编写于 作者: C Cheryl Borley

Respond to feedback

上级 f254782f
......@@ -303,7 +303,11 @@ private IParameterSymbol GetParameterWithMatchingName(ImmutableArray<IParameterS
return null;
}
var containingType = (INamedTypeSymbol)symbolInfo.Symbol.ContainingSymbol;
var containingType = symbolInfo.Symbol.ContainingType;
if (containingType == null)
{
return null;
}
if (containingType.SpecialType != SpecialType.System_String)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册