Exception:集合已修改;可能无法执行枚举操作。

报错信息 1
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   在 DynamicClass.WindowTopMostAndBorderManager.MonitorTopMostWindows(Object state)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.TimerQueueTimer.CallCallback()
   在 System.Threading.TimerQueueTimer.Fire()
   在 System.Threading.TimerQueue.FireNextTimers()

版本:1.44.22 2026-03-13 16:06 Microsoft Windows NT 10.0.26220.0
版本:1.44.22 2026-03-03 14:39 Microsoft Windows NT 10.0.26100.0
版本:1.44.22 2026-03-01 23:57 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-03-01 21:43 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-03-01 15:27 Microsoft Windows NT 10.0.26100.0
报错信息 2
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   在 System.Linq.Enumerable.<SkipIterator>d__31`1.MoveNext()
   在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   在 BetterClip.Service.Windows.ActiveWindowService.<.ctor>b__6_3(EventPattern`1 _)
   在 System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
   在 System.Reactive.Linq.ObservableImpl.Where`1.Predicate._.OnNext(TSource value)
   在 System.Reactive.Linq.ObservableImpl.Throttle`1._.Propagate(UInt64 currentid)
   在 System.Reactive.Concurrency.Scheduler.Invoke[TState](ValueTuple`2 tuple)
   在 System.Reactive.Concurrency.Scheduler.<>c__78`1.<ScheduleAction>b__78_0(IScheduler _, ValueTuple`2 tuple)
   在 System.Reactive.Concurrency.UserWorkItem`1.Run()
   在 System.Reactive.Concurrency.ConcurrencyAbstractionLayerImpl.Timer.Tick()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.TimerQueueTimer.CallCallback()
   在 System.Threading.TimerQueueTimer.Fire()
   在 System.Threading.TimerQueue.FireNextTimers()

版本:1.44.22 2026-03-02 16:05 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-02-25 11:06 Microsoft Windows NT 10.0.19045.0
报错信息 3
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   在 U09k870WyuSye6Crf1v3.IndDf10WVy1dHgfki0SM.<>c__DisplayClass62_3.GQGfnEero6x(Object sender, EventArgs args)
   在 System.EventHandler.Invoke(Object sender, EventArgs e)
   在 System.Windows.Window.OnClosed(EventArgs e)
   在 System.Windows.Window.WmDestroy()
   在 System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.44.22 2026-03-01 11:43 Microsoft Windows NT 10.0.19045.0