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

Commit 6f5a7f5

Browse files
committed
fix PCL build
1 parent 14c887a commit 6f5a7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/ReflectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ public static Dictionary<string, object> ToSafePartialObjectDictionary<T>(this T
19951995
? entry.Value.GetType()
19961996
: null;
19971997

1998-
if (valueType == null || !valueType.IsClass || valueType == typeof(string))
1998+
if (valueType == null || !valueType.IsClass() || valueType == typeof(string))
19991999
{
20002000
to[entry.Key] = entry.Value;
20012001
}

0 commit comments

Comments
 (0)