protected internal override void PackToCore(MsgPack.Packer packer, MsgPack.Serialization.AnnotatedClass objectTree)
 {
     packer.PackArrayHeader(10);
     this._serializer0.PackTo(packer, objectTree.PublicProperty);
     this._serializer0.PackTo(packer, objectTree.PublicField);
     packer.PackNull();
     packer.PackNull();
     this._serializer0.PackTo(packer, ((int)(this._methodBaseAnnotatedClass_get_NonPublicProperty0.Invoke(objectTree, null))));
     this._serializer0.PackTo(packer, ((int)(this._fieldAnnotatedClass_NonPublicField0.GetValue(objectTree))));
     this._serializer0.PackTo(packer, objectTree.NonSerializedPublicField);
     packer.PackNull();
     this._serializer0.PackTo(packer, ((int)(this._fieldAnnotatedClass_NonSerializedNonPublicField1.GetValue(objectTree))));
     this._serializer1.PackTo(packer, objectTree.CollectionReadOnlyProperty);
 }
Ejemplo n.º 2
0
 protected internal override void PackToCore(MsgPack.Packer packer, MsgPack.Serialization.ComplexTypeWithOneBaseOrder objectTree)
 {
     packer.PackArrayHeader(3);
     packer.PackNull();
     this._serializer0.PackTo(packer, objectTree.One);
     this._serializer0.PackTo(packer, objectTree.Two);
 }
Ejemplo n.º 3
0
 private void PackMemberPlaceHolder(MsgPack.Packer packer, MsgPack.Serialization.ComplexTypeWithOneBaseOrder objectTree)
 {
     packer.PackNull();
 }