Serialize inherited classes using protobuf-net
问题 I have a problem serializing derived classes using protobuf-net. I don't know if it is because it is not supported, or I am doing something wrong. I have a generic base class (which I can serialize directly) and then i make a specialization of this, but this one I can't serialize. The following is the code for the two classes and a example of usage. Am i doing something wrong? Edit Added restriction to the generic types Base [ProtoBuf.ProtoContract] public class Base<TKey, TValue> where TKey