Throw exception when calling Distinct with an IEqualityComparer