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

报错信息 1
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.10 2025-08-13 11:29 Microsoft Windows NT 10.0.19045.0