Given a class:
[ProtoContract]
class Test
{
[ProtoMember(1)]
public Dictionary<float, List<int>> Lists { get; set; }
}
Serialization goes ok, but deserialization fails with the following exception:
DeserializeImpl should not be called for PropertyList:
at ProtoBuf.Property.PropertyList`3.DeserializeImpl(TSource source,
SerializationContext context) in
d:\protobuf-net-FixSnk\trunk\protobuf-net\Property\PropertyList.cs:line 47
at ProtoBuf.Property.PropertyPairString`3.DeserializeImpl(TSource
source, SerializationContext context) in
d:\protobuf-net-FixSnk\trunk\protobuf-net\Property\PropertyPairString.cs:line
53
at ProtoBuf.Property.PropertyList`3.Deserialize(TSource source,
SerializationContext context) in
d:\protobuf-net-FixSnk\trunk\protobuf-net\Property\PropertyList.cs:line 59
at ProtoBuf.Serializer`1.Deserialize[TCreation](T& instance,
SerializationContext context) in
d:\protobuf-net-FixSnk\trunk\protobuf-net\SerializerT.cs:line 563
at ProtoBuf.Serializer`1.DeserializeChecked[TCreation](T& instance,
SerializationContext source) in
d:\protobuf-net-FixSnk\trunk\protobuf-net\SerializerT.cs:line 398
at ProtoBuf.SerializerItemProxy`2.Deserialize(TActualClass& instance,
SerializationContext source) in
d:\protobuf-net-FixSnk\trunk\protobuf-net\SerializerProxy.cs:line 86
at ProtoBuf.Serializer.Deserialize[T](SerializationContext source) in
d:\protobuf-net-
Original issue reported on code.google.com by maciej.p...@gmail.com on 27 Mar 2009 at 6:52
Original issue reported on code.google.com by
maciej.p...@gmail.com
on 27 Mar 2009 at 6:52