<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Runtime.Serialization.ISerializationSurrogateProvider

namespace System.Runtime.Serialization { public interface ISerializationSurrogateProvider { object GetDeserializedObject(object obj, Type targetType); object GetObjectToSerialize(object obj, Type targetType); Type GetSurrogateType(Type type); } }