public void Move()

in WhackAMole.UWPClient/SynchronizedObservableCollection.cs [654:677]


        public void Move(int oldIndex, int newIndex)
        {
            T item;

            _itemsLocker.EnterWriteLock();

            try
            {
                CheckReentrancy();
                CheckIndex(oldIndex);
                CheckIndex(newIndex);

                item = _items[oldIndex];

                _items.RemoveAt(oldIndex);
                _items.Insert(newIndex, item);
            }
            finally
            {
                _itemsLocker.ExitWriteLock();
            }

            OnNotifyItemMoved(item, newIndex, oldIndex);
        }