I'm having errors when deserializing this object (serialization works fine). The message says "Expected picker for type but instead found System.Object).
This is my base class, the derived classes only add simple auto-properties.
[Serializable]
public abstract class ConcurrentEntity : IConcurrentEntity where T : new()
{
[NonSerialized]
private static readonly T LockObject = new T();
We would need a full simple repro for this. Will close - it's quite an old issue - @carlosesquivelunono please reopen if you can provide a step-by-step repro, thanks
Hello,
I'm having errors when deserializing this object (serialization works fine). The message says "Expected picker for type but instead found System.Object).
This is my base class, the derived classes only add simple auto-properties.
[Serializable] public abstract class ConcurrentEntity : IConcurrentEntity where T : new()
{
[NonSerialized]
private static readonly T LockObject = new T();
I'm calling
CSPickler.CreateBinarySerializer.UnPickle<T>
Thanks!