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

Commit 90dcf92

Browse files
committed
fix PCL build error
1 parent 6bc320b commit 90dcf92

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
@@ -862,7 +862,7 @@ public static FieldInfo[] GetAllFields(this Type type)
862862
}
863863

864864
#if (NETFX_CORE || PCL)
865-
return type.GetRuntimeFields().Where(p => !p.isStatic).ToArray();
865+
return type.GetRuntimeFields().ToArray();
866866
#else
867867
return type.GetPublicFields();
868868
#endif

0 commit comments

Comments
 (0)