April 2014 Blog Posts

A Fun ValidationAttribute Bug

I tweeted about a bug that I recently helped fix in System.ComponentModel.DataAnnotations.ValidationAttribute. As I said, it's a bug resulting from code I wrote for that class years ago. I was honestly surprised there was any interest in this, but there was! Since I piqued your interest, I thought it only fair that I quench your thirst and show you the details of the bug. I helped fix a bug in System.ComponentModel.DataAnnotations.ValidationAttribute today. A threading bug I introduced a long time ago. :-(— Jeff Handley (@JeffHandley) April 15, 2014 History and Backwards Compatibility The first implementation of ValidationAttribute had a method with the...

posted @ Tuesday, April 15, 2014 1:29 AM | Feedback (2)