It's a simple change to avoid exceptions getting thrown from coercion of complex types from string back to the object to completely break the comparison. I have the feeling that this method needs a bit more work, as calling ToString() and then converting it back into a type can fail for many types, even the less complex ones.
It's a simple change to avoid exceptions getting thrown from coercion of complex types from string back to the object to completely break the comparison. I have the feeling that this method needs a bit more work, as calling ToString() and then converting it back into a type can fail for many types, even the less complex ones.