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

Commit 13233ac

Browse files
committed
fix PCL build error
1 parent 9292a0e commit 13233ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/TypeSerializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ private static bool HasCircularReferences(object value, Stack<object> parentValu
315315
if (pi.GetIndexParameters().Length > 0)
316316
continue;
317317

318-
var mi = pi.GetGetMethod();
318+
var mi = pi.PropertyGetMethod();
319319
var pValue = mi != null ? mi.Invoke(value, null) : null;
320320
if (pValue == null)
321321
continue;

0 commit comments

Comments
 (0)