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

Commit 1266591

Browse files
committed
Re-add #if !PCL around DeserializeDynamic
1 parent 294d6d3 commit 1266591

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ServiceStack.Text/PclExport.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,13 @@ public virtual ParseStringDelegate GetSpecializedCollectionParseMethod<TSerializ
396396
public virtual ParseStringDelegate GetJsReaderParseMethod<TSerializer>(Type type)
397397
where TSerializer : ITypeSerializer
398398
{
399+
#if !PCL
399400
if (type.AssignableFrom(typeof(System.Dynamic.IDynamicMetaObjectProvider)) ||
400401
type.HasInterface(typeof(System.Dynamic.IDynamicMetaObjectProvider)))
401402
{
402403
return DeserializeDynamic<TSerializer>.Parse;
403404
}
405+
#endif
404406
return null;
405407
}
406408

0 commit comments

Comments
 (0)