public bool Remove()

in WhackAMole.UWPClient/SynchronizedObservableCollection.cs [682:712]


        public bool Remove(T item)
        {
            int index;
            T value;

            _itemsLocker.EnterWriteLock();

            try
            {
                CheckReentrancy();

                index = _items.IndexOf(item);

                if (index < 0)
                {
                    return false;
                }

                value = _items[index];

                _items.RemoveAt(index);
            }
            finally
            {
                _itemsLocker.ExitWriteLock();
            }

            OnNotifyItemRemoved(value, index);

            return true;
        }