Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com
We've got an error messgae from custom comparer:
IComparer (or the IComparable methods it relies upon) did not
return zero when Array.Sort called x. CompareTo(x).
 
After investigation it was found, that the error was caused by NullReferenceException,
 thrown within Comparer.
I've suggested to Microsoft , that the actual NullReferenceException error message should be shown instead of this misleading one.
See also similar feedback

 
Posted on Wednesday, May 20, 2009 9:35 PM .Net Framework | Back to top


Comments on this post: Misleading error message when NullReferenceException thrown within Comparer

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net