提交 2a57b573 编写于 作者: J Jason Malinowski 提交者: GitHub

Merge pull request #19579 from fsacer/master

Add missing null check to WorkspaceMetadataFileReferenceResolver.Equals
......@@ -34,7 +34,7 @@ public override ImmutableArray<PortableExecutableReference> ResolveReference(str
public bool Equals(WorkspaceMetadataFileReferenceResolver other)
{
return _metadataService == other._metadataService &&
return other != null && _metadataService == other._metadataService &&
PathResolver.Equals(other.PathResolver);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册