Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b7b7e4f

Browse files
committed
use more PCL friendly IsAssignableFromType() ext method
1 parent 446ea9c commit b7b7e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/AutoMappingUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public static PropertyGetterDelegate CreateTypeConverter(Type fromType, Type toT
718718
{
719719
return null;
720720
}
721-
else if (typeof(IEnumerable).IsAssignableFrom(fromType))
721+
else if (typeof(IEnumerable).IsAssignableFromType(fromType))
722722
{
723723
return fromValue =>
724724
{

0 commit comments

Comments
 (0)