Bugs Are Features Too
It’s surprising how many bugs on Microsoft Connect are closed as Won’t Fix with a reason that fixing the bug would be a breaking change. The logic is that someone could be dependant on the errant behaviour and thus changing it would cause their code to break. Here’s some samples. TypeConverter.IsValid(Object). This method is described as “Returns whether the given value is valid for this type”. But, this results in true: TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(int)); Console.WriteLine(typeConverter.IsValid(“ten”)); Based on the description of IsValid that this is what was intended: Debug.Assert(false == typeConverter.IsValid(“ten”), … Continue reading Bugs Are Features Too