I think it should be comparable if

typeof(A).IsAssignableFrom(typeof(B))
||
typeof(B).IsAssignableFrom(typeof(A))

... but not in the given test case because they are two totally
different types.

On 15 Apr., 10:53, Steve <[email protected]> wrote:
> True enough, although every override I've seen of .Equals would barf
> if the types weren't comparable.  As you say, the default
> implementation looks for reference equality, so it would never return
> true for two objects of a different type.

Reply via email to