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()
InvalidOperationException: 集合已修改;可能无法执行枚举操作。 StackTrace: 在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) 在 System.Collections.Generic.Dictionary`2.Enumerator.MoveNext() 在 kdYE4iocjIn6rpkyuGS.k76Lmfo1B5RyIdJCx7F.<>c__DisplayClass62_3.l16SsEM7Go5(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)