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

Commit 26b1d13

Browse files
committed
Moar PCL fixes
1 parent 00766df commit 26b1d13

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
@@ -79,7 +79,7 @@ private static object ChangeValueType(object from, Type type)
7979

8080
public static object ChangeTo(this string strValue, Type type)
8181
{
82-
if (type.IsValueType && !type.IsEnum
82+
if (type.IsValueType() && !type.IsEnum()
8383
#if !PCL
8484
&& type.HasInterface(typeof(IConvertible))
8585
#endif

0 commit comments

Comments
 (0)