Exception:索引超出范围。必须为非负值并小于集合大小。 参数名: index

报错信息 1
ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
--Message: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
StackTrace:
   在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   在 System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
   在 DynamicData.Binding.SortedObservableCollectionAdaptor`2.DoUpdate(ISortedChangeSet`2 updates, IObservableCollection`1 list)
   在 DynamicData.Binding.SortedObservableCollectionAdaptor`2.Adapt(ISortedChangeSet`2 changes, IObservableCollection`1 collection)
   在 DynamicData.ObservableCacheEx.<>c__DisplayClass33_0`2.<Bind>b__1(ISortedChangeSet`2 changes)
   在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
   在 System.Reactive.ObserverBase`1.OnError(Exception error)
   在 System.Reactive.AutoDetachObserver`1.OnErrorCore(Exception exception)
   在 System.Reactive.ObserverBase`1.OnError(Exception error)
   在 System.Reactive.Sink`1.ForwardOnError(Exception error)
   在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
   在 System.Reactive.Concurrency.Synchronize`1._.OnNext(TSource value)
   在 System.Reactive.AutoDetachObserver`1.OnNextCore(T value)
   在 System.Reactive.ObserverBase`1.OnNext(T value)
   在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
   在 System.Reactive.Linq.ObservableImpl.Where`1.Predicate._.OnNext(TSource value)
   在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
   在 System.Reactive.AutoDetachObserver`1.OnNextCore(T value)
   在 System.Reactive.ObserverBase`1.OnNext(T value)
   在 System.Reactive.AutoDetachObserver`1.OnNextCore(T value)
   在 System.Reactive.ObserverBase`1.OnNext(T value)
   在 System.Reactive.Linq.ObservableImpl.Where`1.Predicate._.OnNext(TSource value)
   在 System.Reactive.Subjects.Subject`1.OnNext(T value)
   在 DynamicData.ObservableCache`2.InvokeNext(ChangeSet`2 changes)
   在 DynamicData.ObservableCache`2.UpdateFromSource(Action`1 updateAction)
   在 BetterClip.Service.Windows.ActiveWindowService.Update(IntPtr hWND)
   在 BetterClip.Service.Windows.ActiveWindowService.Hook_ForegroundWindowChanged(Object sender, ForegroundWindowChangedEventArgs e)
   在 BetterClip.Win32.ActiveWindowHook.WinEventProc(HWINEVENTHOOK hWinEventHook, UInt32 event, HWND hwnd, Int32 idObject, Int32 idChild, UInt32 idEventThread, UInt32 dwmsEventTime)

版本:1.44.24 2025-09-16 17:18 Microsoft Windows NT 10.0.19045.0