No parameterless constructor found
When I run code below simultaneously in 20 threads I get "No parameterless constructor found for EntityBase" exception while deserializing some files, but not all, about 50% deserialized sucesfully. I have opened serialized files and noticed that some files are differ from other, but they should the same because I am serializing the same class. Is this protobuf-net bug?

The code below executed simultaneously in twenty threads.

    var web2PdfEntity = new Web2Pdf();
    web2PdfEntity.Prop1 = "http://www.google.com";
    web2PdfEntity.Prop3 = "359449843";
    
    var path = @"C:\Users\Administrator\Projects\temp\" + Helpers.GetRandomInt(9) + ".txt";
    
    using (var stream = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.None))
    {
        Serializer.NonGeneric.Serialize(stream, web2PdfEntity);
    }
    
    Thread.Sleep(2000);
    
    using (var inFileStream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.None))
    {
    var clientEntity = Serializer.NonGeneric.Deserialize(typeof(Web2Pdf), inFileStream); //Exception here
    }

The class for serialization

    [ProtoContract]
    public sealed class Web2Pdf : WebEntity
    {
            [ProtoMember(1)]
            public string Prop1 { get; set; }
    }
    
    [ProtoContract, ProtoInclude(2, typeof(Web2Pdf)))]    
    public abstract class WebEntity : EntityBase
    {
            [ProtoMember(2)]
            public string Prop2 { get; set; }
    }
    
    [ProtoContract, ProtoInclude(1, typeof(WebEntity))]    
    public abstract class EntityBase
    {
            [ProtoMember(3)]
            public string Prop3 { get; set; }
    }


No parameterless constructor found
===

When I run code below simultaneously in 20 threads I get "No parameterless constructor found for EntityBase" exception while deserializing some files, but not all, about 50% deserialized sucesfully. I have opened serialized files and noticed that some files are differ from other, but they should the same because I am serializing the same class. Is this protobuf-net bug?

The code below executed simultaneously in twenty threads.

    var web2PdfEntity = new Web2Pdf();
    web2PdfEntity.Prop1 = "http://www.google.com";
    web2PdfEntity.Prop3 = "359449843";
    
    var path = @"C:\Users\Administrator\Projects\temp\" + Helpers.GetRandomInt(9) + ".txt";
    
    using (var stream = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.None))
    {
        Serializer.NonGeneric.Serialize(stream, web2PdfEntity);
    }
    
    Thread.Sleep(2000);
    
    using (var inFileStream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.None))
    {
    var clientEntity = Serializer.NonGeneric.Deserialize(typeof(Web2Pdf), inFileStream); //Exception here
    }

The class for serialization

    [ProtoContract]
    public sealed class Web2Pdf : WebEntity
    {
            [ProtoMember(1)]
            public string Prop1 { get; set; }
    }
    
    [ProtoContract, ProtoInclude(2, typeof(Web2Pdf)))]    
    public abstract class WebEntity : EntityBase
    {
            [ProtoMember(2)]
            public string Prop2 { get; set; }
    }
    
    [ProtoContract, ProtoInclude(1, typeof(WebEntity))]    
    public abstract class EntityBase
    {
            [ProtoMember(3)]
            public string Prop3 { get; set; }
    }

