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

Commit 86a8b67

Browse files
committed
Fix PCL Build error
1 parent 3c7724e commit 86a8b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceStack.Text/ReflectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ public void SetValue(object instance, object value)
18001800
if (SetValueFn == null)
18011801
return;
18021802

1803-
if (!Type.IsInstanceOfType(value))
1803+
if (!Type.InstanceOfType(value))
18041804
{
18051805
lock (this)
18061806
{
@@ -1812,7 +1812,7 @@ public void SetValue(object instance, object value)
18121812
}
18131813
}
18141814

1815-
if (ConvertType.IsInstanceOfType(value))
1815+
if (ConvertType.InstanceOfType(value))
18161816
{
18171817
value = ConvertValueFn(value);
18181818
}

0 commit comments

Comments
 (0)