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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

版本:1.44.31 2026-03-17 00:35 Microsoft Windows NT 10.0.26200.0
版本:1.44.13 2026-03-05 11:21 Microsoft Windows NT 10.0.19045.0
版本:1.45.0 2026-03-02 15:49 Microsoft Windows NT 10.0.26100.0
报错信息 2
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.32 2026-03-16 09:11 Microsoft Windows NT 10.0.22631.0
版本:1.44.22 2026-03-13 16:06 Microsoft Windows NT 10.0.26220.0
版本:1.44.31 2026-03-11 15:13 Microsoft Windows NT 10.0.19045.0
版本:1.45.0 2026-03-10 20:27 Microsoft Windows NT 10.0.26200.0
版本:1.44.31 2026-03-08 18:34 Microsoft Windows NT 10.0.26200.0
版本:1.44.31 2026-03-07 16:56 Microsoft Windows NT 10.0.22631.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
报错信息 3
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeDictionary(JsonWriter writer, IDictionary values, JsonDictionaryContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
   在 Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
   在 Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)
   在 DynamicClass.TimingFunction.<>c__DisplayClass3.<.ctor>b__0(Object s, EventArgs e)
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 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.55 2026-03-15 22:18 Microsoft Windows NT 10.0.19045.0
报错信息 4
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   在 xMSPdxfjbMJEBNSCihe1.Y8flCafjAl1TCU7suR2X.<>c__DisplayClass63_3.qvdhI3bnfnP(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.55 2026-03-15 12:47 Microsoft Windows NT 10.0.22621.0
版本:1.44.55 2026-03-13 17:30 Microsoft Windows NT 10.0.26200.0
版本:1.44.55 2026-03-13 15:22 Microsoft Windows NT 10.0.19045.0
版本:1.44.55 2026-03-13 13:20 Microsoft Windows NT 10.0.22631.0
版本:1.44.55 2026-03-12 20:46 Microsoft Windows NT 10.0.19045.0
版本:1.44.55 2026-03-11 17:09 Microsoft Windows NT 10.0.19045.0
版本:1.44.55 2026-03-10 10:51 Microsoft Windows NT 10.0.19044.0
版本:1.44.55 2026-03-02 09:51 Microsoft Windows NT 10.0.19045.0
报错信息 5
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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

版本:1.44.55 2026-03-07 19:18 Microsoft Windows NT 10.0.22621.0
版本:1.44.55 2026-02-28 07:58 Microsoft Windows NT 10.0.22621.0
版本:1.44.22 2026-02-15 08:28 Microsoft Windows NT 10.0.19045.0
报错信息 6
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.45.0 2026-03-05 07:28 Microsoft Windows NT 10.0.26100.0
版本:1.43.0 2026-03-03 18:37 Microsoft Windows NT 10.0.19045.0
版本:1.44.22 2026-03-02 16:05 Microsoft Windows NT 10.0.26200.0
版本:1.44.55 2026-03-02 15:30 Microsoft Windows NT 10.0.19045.0
版本:1.44.22 2026-02-25 11:06 Microsoft Windows NT 10.0.19045.0
版本:1.44.27 2026-02-18 15:20 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2026-02-17 15:26 Microsoft Windows NT 10.0.19045.0
报错信息 7
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