Exception:Collection was modified after the enumerator was instantiated.

报错信息

InvalidOperationException: Collection was modified after the enumerator was instantiated.
StackTrace:
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Queue`1.Enumerator.MoveNext()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at FreeSql.DbContext.FlushCommand()
   at FreeSql.DbSet`1.DbContextFlushCommand()
   at FreeSql.DbSet`1.AddPriv(TEntity data, Boolean isCheck)
   at FreeSql.DbSet`1.Add(TEntity data)
   at FreeSql.BaseRepository`1.Insert(TEntity entity)
   at IntelliTools.Domain.MyClipboard.ClipItem.CreateAndSave(ClipItemBase item)
   at IntelliTools.View.BackgroundWindow.CollectClipItem(ClipItemBase item)
   at IntelliTools.View.BackgroundWindow.LasyOnClipboardChanged()
   at IntelliTools.View.BackgroundWindow.Timer_Tick(Object sender, EventArgs e)
   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

解决方法

暂无解决方案。

相关信息
1 查看
27天20小时前
Quicker版本
版本 反馈次数
1.42.24 1