+2011-05-05 Veerapuram Varadhan <v.varadhan@gmail.com>
+
+ ** Fixes #663287
+ * NullableConverter.cs (ConvertTo): Compare the type of value
+ against underlyingType instead of nullableType.
+
2010-07-19 Marek Habersack <mhabersack@novell.com>
* MultilineStringConverter.cs: implemented
// Explicit cast operator in Nullable when the user casts will take care
// of extracting the inner value.
- if (destinationType == underlyingType && value.GetType() == nullableType)
+ if (destinationType == underlyingType && value.GetType() == underlyingType)
return value;
if (underlyingTypeConverter != null && value != null)