protected bool AreEquivalent( Type lhs, Type rhs ) { return lhs == rhs || lhs.IsEquivalentTo( rhs ); }