Repository: microsoft/garnet
File: libs/server/API/GarnetApiObjectCommands.cs (C#)

Code before:
        /// <inheritdoc />
        public GarnetStatus ListRightPush(byte[] key, ArgSlice input, out ObjectOutputHeader output)
             => storageSession.ListPush(key, input, out output, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPush(ArgSlice key, ArgSlice[] elements, out int itemsCount, bool onlyWhenExists = false)
            => storageSession.ListPush(key, elements, onlyWhenExists ? ListOperation.LPUSHX : ListOperation.LPUSH, out itemsCount, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPush(ArgSlice key, ArgSlice element, out int count, bool onlyWhenExists = false)
            => storageSession.ListPush(key, element, onlyWhenExists ? ListOperation.LPUSHX : ListOperation.LPUSH, out count, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPush(byte[] key, ArgSlice input, out ObjectOutputHeader output)
            => storageSession.ListPush(key, input, out output, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPop(byte[] key, ArgSlice input, ref GarnetObjectStoreOutput outputFooter)
            => storageSession.ListPop(key, input, ref outputFooter, ref objectContext);

        /// <inheritdoc />
        public unsafe GarnetStatus ListLeftPop(ArgSlice key, out ArgSlice element)
             => storageSession.ListPop(key, ListOperation.LPOP, ref objectContext, out element);

        /// <inheritdoc />
        public GarnetStatus ListLeftPop(ArgSlice key, int count, out ArgSlice[] poppedElements)
             => storageSession.ListPop(key, count, ListOperation.LPOP, ref objectContext, out poppedElements);

        /// <inheritdoc />
        public GarnetStatus ListLeftPop(ArgSlice[] keys, int count, out ArgSlice poppedKey, out ArgSlice[] poppedElements)
            => storageSession.ListManyPop(keys, OperationDirection.Left, count, ref context, ref objectContext, out poppedKey, out poppedElements);

        /// <inheritdoc />
        public GarnetStatus ListRightPop(byte[] key, ArgSlice input, ref GarnetObjectStoreOutput outputFooter)
            => storageSession.ListPop(key, input, ref outputFooter, ref objectContext);

        /// <inheritdoc />
        public unsafe GarnetStatus ListRightPop(ArgSlice key, out ArgSlice element)
            => storageSession.ListPop(key, ListOperation.RPOP, ref objectContext, out element);

        /// <inheritdoc />
        public GarnetStatus ListRightPop(ArgSlice key, int count, out ArgSlice[] poppedElements)
            => storageSession.ListPop(key, count, ListOperation.RPOP, ref objectContext, out poppedElements);

        /// <inheritdoc />
        public GarnetStatus ListRightPop(ArgSlice[] keys, int count, out ArgSlice poppedKey, out ArgSlice[] poppedElements)
            => storageSession.ListManyPop(keys, OperationDirection.Right, count, ref context, ref objectContext, out poppedKey, out poppedElements);

        #endregion

        /// <inheritdoc />

Review comment (bug):
General comments: 
1. Please run "dotnet format" from your git repo root, since the format step in the build pipeline is currently failing
2. As mentioned in the Issue thread, please add LMPOP to TxnKeyManager

Code after:
        /// <inheritdoc />
        public GarnetStatus ListRightPush(byte[] key, ArgSlice input, out ObjectOutputHeader output)
             => storageSession.ListPush(key, input, out output, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPush(ArgSlice key, ArgSlice[] elements, out int itemsCount, bool onlyWhenExists = false)
            => storageSession.ListPush(key, elements, onlyWhenExists ? ListOperation.LPUSHX : ListOperation.LPUSH, out itemsCount, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPush(ArgSlice key, ArgSlice element, out int count, bool onlyWhenExists = false)
            => storageSession.ListPush(key, element, onlyWhenExists ? ListOperation.LPUSHX : ListOperation.LPUSH, out count, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPush(byte[] key, ArgSlice input, out ObjectOutputHeader output)
            => storageSession.ListPush(key, input, out output, ref objectContext);

        /// <inheritdoc />
        public GarnetStatus ListLeftPop(byte[] key, ArgSlice input, ref GarnetObjectStoreOutput outputFooter)
            => storageSession.ListPop(key, input, ref outputFooter, ref objectContext);

        /// <inheritdoc />
        public unsafe GarnetStatus ListLeftPop(ArgSlice key, out ArgSlice element)
             => storageSession.ListPop(key, ListOperation.LPOP, ref objectContext, out element);

        /// <inheritdoc />
        public GarnetStatus ListLeftPop(ArgSlice key, int count, out ArgSlice[] poppedElements)
             => storageSession.ListPop(key, count, ListOperation.LPOP, ref objectContext, out poppedElements);

        /// <inheritdoc />
        public GarnetStatus ListLeftPop(ArgSlice[] keys, int count, out ArgSlice poppedKey, out ArgSlice[] poppedElements)
            => storageSession.ListPopMultiple(keys, OperationDirection.Left, count, ref objectContext, out poppedKey, out poppedElements);

        /// <inheritdoc />
        public GarnetStatus ListRightPop(byte[] key, ArgSlice input, ref GarnetObjectStoreOutput outputFooter)
            => storageSession.ListPop(key, input, ref outputFooter, ref objectContext);

        /// <inheritdoc />
        public unsafe GarnetStatus ListRightPop(ArgSlice key, out ArgSlice element)
            => storageSession.ListPop(key, ListOperation.RPOP, ref objectContext, out element);

        /// <inheritdoc />
        public GarnetStatus ListRightPop(ArgSlice key, int count, out ArgSlice[] poppedElements)
            => storageSession.ListPop(key, count, ListOperation.RPOP, ref objectContext, out poppedElements);

        /// <inheritdoc />
        public GarnetStatus ListRightPop(ArgSlice[] keys, int count, out ArgSlice poppedKey, out ArgSlice[] poppedElements)
            => storageSession.ListPopMultiple(keys, OperationDirection.Right, count, ref objectContext, out poppedKey, out poppedElements);

        #endregion

        /// <inheritdoc />