I looked at some recent changes and one of them was for checking row
equality. I noticed there was a specific test for an (int)1 not being
equal to a (byte)1 - is that the desired behavior or was the test put
in there just to demonstrate that subtlety? I did a little test and
was surprised to find the below .NET framework behavior, I would have
thought they would be equal:

object a = (int)1;
object b = (byte)1;

Assert.IsFalse(a.Equals(b));

I'm guessing the framework just returns false if the types are
different in the Equals implementation.

So I understand why the test behaves how it does, just curious if that
is the desired effect or just due to the above and you wanted it to be
clear.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to