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); }
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); }
private void PackMemberPlaceHolder(MsgPack.Packer packer, MsgPack.Serialization.ComplexTypeWithOneBaseOrder objectTree) { packer.PackNull(); }