提交 e7b8c4b5 编写于 作者: C Cyrus Najmabadi

Simplify

上级 b17e9c36
...@@ -79,11 +79,8 @@ public bool AreEquivalent(ISymbol x, ISymbol y, Dictionary<INamedTypeSymbol, INa ...@@ -79,11 +79,8 @@ public bool AreEquivalent(ISymbol x, ISymbol y, Dictionary<INamedTypeSymbol, INa
// want to bail out using the above check. // want to bail out using the above check.
if (_objectAndDynamicCompareEqually) if (_objectAndDynamicCompareEqually)
{ {
if ((xKind == SymbolKind.DynamicType && IsObjectType(y)) || return (xKind == SymbolKind.DynamicType && IsObjectType(y)) ||
(yKind == SymbolKind.DynamicType && IsObjectType(x))) (yKind == SymbolKind.DynamicType && IsObjectType(x));
{
return true;
}
} }
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册