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

报错信息 1
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
   在 System.Windows.Input.StylusWisp.WispLogic.RefreshTablets()
   在 System.Windows.Input.StylusWisp.WispLogic.OnTabletAdded(UInt32 wisptisIndex)
   在 System.Windows.Input.StylusWisp.WispLogic.HandleMessage(WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.SystemResources.InvalidateTabletDevices(WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.SystemResources.SystemThemeFilterMessage(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.45.5 2026-09-07 17:04 Microsoft Windows NT 10.0.26200.0
报错信息 2
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.45.5 2026-09-03 19:47 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-21 14:26 Microsoft Windows NT 10.0.18363.0
报错信息 3
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.45.5 2026-09-03 10:22 Microsoft Windows NT 10.0.22631.0
版本:1.45.5 2026-09-02 08:09 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-31 21:01 Microsoft Windows NT 10.0.19044.0
版本:1.45.5 2026-08-27 18:36 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-27 17:09 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-27 16:52 Microsoft Windows NT 10.0.28000.0
版本:1.45.5 2026-08-26 17:47 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-26 10:52 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-24 11:07 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-21 17:37 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-21 16:01 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-14 15:07 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-13 23:33 Microsoft Windows NT 10.0.22631.0
报错信息 4
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.45.5 2026-09-02 02:11 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-09-01 15:45 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-31 09:40 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-28 17:25 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-28 16:13 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-23 18:35 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-23 14:59 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-22 20:39 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-21 11:22 Microsoft Windows NT 6.1.7601 Service Pack 1
版本:1.45.5 2026-08-19 09:50 Microsoft Windows NT 10.0.26100.0
版本:1.45.5 2026-08-17 10:08 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-16 15:02 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-16 13:41 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-14 23:12 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-10 15:39 Microsoft Windows NT 10.0.26200.0
报错信息 5
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.45.5 2026-08-31 16:13 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-31 01:09 Microsoft Windows NT 10.0.26100.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.5 2026-08-30 11:48 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-08-24 16:24 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-08-24 10:37 Microsoft Windows NT 10.0.26200.0
报错信息 7
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   在 IntelliTools.Domain.Menu.ClipRootMenuItemWrapper.<GetChildMenuItems>d__5.MoveNext()
   在 IntelliTools.Domain.Menu.RootMenuDisplayer.<GetControls>d__2.MoveNext()
   在 IntelliTools.Domain.Menu.MenuControlAdder.<>c__DisplayClass7_1.<LoadSubmenuItem>b__0()
   在 IntelliTools.Domain.Menu.MenuControlAdder.<>c__DisplayClass7_0.<LoadSubmenuItem>b__1(Object s, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 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.45.5 2026-08-26 13:34 Microsoft Windows NT 10.0.28000.0
报错信息 8
InvalidOperationException: 集合已修改;可能无法执行枚举操作。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   在 IntelliTools.Domain.Menu.ClipRootMenuItemWrapper.<GetChildMenuItems>d__5.MoveNext()
   在 Cea.Utils.Extension.EnumerableExt.<DoLinq>d__2`1.MoveNext()
   在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   在 IntelliTools.Domain.Menu.MenuControlAdder.<>c__DisplayClass7_1.<LoadSubmenuItem>b__0()
   在 IntelliTools.Domain.Menu.MenuControlAdder.<>c__DisplayClass7_0.<LoadSubmenuItem>b__1(Object s, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 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.45.5 2026-08-17 10:37 Microsoft Windows NT 10.0.17134.0