You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DataContract]
class B : A
{
[DataMember]
public DateTimeOffset DateTimeOffset { get; set; }
}
[DataContract]
class A
{
[DataMember]
public Guid Guid { get; set; }
}
var b = new B {DateTimeOffset = DateTimeOffset.Now, Guid = Guid.Empty};
var bs = serializer.Serialize(b);
var ad = serializer.Deserialize<A>(bs);
GroBuf's part of StackTrace:
in Read_A_bea5fb9a-e5a8-458d-b989-07e1f3f6a910(IntPtr , Int32& , A& , ReaderContext )
in GroBuf.GroBufReader.Read[T](IntPtr data, Int32& index, Int32 length, T& result)
in c:\BuildAgent\work\4b2afcefcf307fed\GroBuf\GroBuf\GroBufReader.cs:строка 99
in GroBuf.GroBufReader.Read[T](Byte[] data, T& result)
in c:\BuildAgent\work\4b2afcefcf307fed\GroBuf\GroBuf\GroBufReader.cs:строка 46
in GroBuf.GroBufReader.Read[T](Byte[] data)
in c:\BuildAgent\work\4b2afcefcf307fed\GroBuf\GroBuf\GroBufReader.cs:строка 76
Exception - GroBuf.DataCorruptedException {"Unknown type code: 142"} .
The text was updated successfully, but these errors were encountered:
Code that throws the exception:
GroBuf's part of StackTrace:
Exception -
GroBuf.DataCorruptedException {"Unknown type code: 142"}
.The text was updated successfully, but these errors were encountered: