According to the documentation of the == operator in MSDN,
==
For predefined value types, the equality operator (==) returns true if th
There is an MSDN Connect entry for this here
Alex Turner's reply starts with:
Unfortunately, this behavior is by design and there is not an easy solution to enable use of == with type parameters that may contain value types.