You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couple of things that I would like to point out that are inconsistent between UriTypeConverter/VersionConverter and the other type converters in .NET Core:
They throw ArgumentNullException for CanConvertFrom(null) whereas .NET Framework returns false. I suggest fixing this to be consistent with other type converters.
Per @hughbe (dotnet/corefx#28516 (comment)):
Couple of things that I would like to point out that are inconsistent between
UriTypeConverter/VersionConverter
and the other type converters in .NET Core:ArgumentNullException
forCanConvertFrom(null)
whereas .NET Framework returnsfalse
. I suggest fixing this to be consistent with other type converters.false
forCanConvertFrom(typeof(InstanceDescriptor))
because they don't call their base classCanConvertFrom
method. See Adhere to desktop implementation of [Can]ConvertFrom corefx#35760. I suggest fixing thisInstanceDescriptor
conversion - should this be added toVersionConverter
?The text was updated successfully, but these errors were encountered: