public virtual bool SupportsReferences(Type sourceType, SerializationContext serializationContext) { Type targetType = GetSerializedType(sourceType); return serializationContext.IsReferenceableType(targetType); }