I am trying to serialize something like this (i'll summarize as the object 
is more complex):

class Anag {

}

System.Reflection.TargetInvocationException was unhandled
  Message="TargetInvocationException"
  StackTrace:
    at System.Reflection.RuntimePropertyInfo.GetValue()
    at ProtoBuf.Serializers.TupleSerializer.GetValue()
    at ProtoBuf.Serializers.TupleSerializer.Write()
    at ProtoBuf.Meta.RuntimeTypeModel.Serialize()
    at ProtoBuf.ProtoWriter.WriteObject()
    at 
ProtoBuf.Serializers.SubItemSerializer.ProtoBuf.Serializers.IProtoSerializer.Write()
    at ProtoBuf.Serializers.TagDecorator.Write()
    at ProtoBuf.Serializers.ListDecorator.Write()
    at ProtoBuf.Serializers.PropertyDecorator.Write()
    at ProtoBuf.Serializers.TypeSerializer.Write()
    at ProtoBuf.Meta.RuntimeTypeModel.Serialize()
    at ProtoBuf.Meta.TypeModel.SerializeCore()
    at ProtoBuf.Meta.TypeModel.Serialize()
    at ProtoBuf.Meta.TypeModel.Serialize()
    at ProtoBuf.Serializer.Serialize()
     [...]
  InnerException: 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to