Exception:Collection was modified; enumeration operation may not execute.

报错信息 1
InvalidOperationException: Collection was modified; enumeration operation may not execute.
StackTrace:
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at DynamicClass.WindowTopMostAndBorderManager.MonitorTopMostWindows(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

版本:1.45.5 2026-11-04 20:26 Microsoft Windows NT 10.0.26200.0