static int _m_DeserializeMembers(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                MongoDB.Bson.Serialization.Serializers.SerializerHelper gen_to_be_invoked = (MongoDB.Bson.Serialization.Serializers.SerializerHelper)translator.FastGetCSObj(L, 1);



                {
                    MongoDB.Bson.Serialization.BsonDeserializationContext _context = (MongoDB.Bson.Serialization.BsonDeserializationContext)translator.GetObject(L, 2, typeof(MongoDB.Bson.Serialization.BsonDeserializationContext));
                    System.Action <string, long> _memberHandler = translator.GetDelegate <System.Action <string, long> >(L, 3);

                    long gen_ret = gen_to_be_invoked.DeserializeMembers(_context, _memberHandler);
                    LuaAPI.lua_pushint64(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) >= 1 && (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 2) || translator.Assignable <MongoDB.Bson.Serialization.Serializers.SerializerHelper.Member>(L, 2)))
                {
                    MongoDB.Bson.Serialization.Serializers.SerializerHelper.Member[] _members = translator.GetParams <MongoDB.Bson.Serialization.Serializers.SerializerHelper.Member>(L, 2);

                    MongoDB.Bson.Serialization.Serializers.SerializerHelper gen_ret = new MongoDB.Bson.Serialization.Serializers.SerializerHelper(_members);
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to MongoDB.Bson.Serialization.Serializers.SerializerHelper constructor!"));
        }