Open
Description
Running FD under VS in debug mode, I'm often (not always) getting exceptions when switching projects (dev project and tests project for it), or checking out another git branch.
Exception: System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
Stack trace:
System.InvalidOperationException occurred
HResult=0x80131509
Message=Collection was modified; enumeration operation may not execute.
Source=<Cannot evaluate the exception source>
StackTrace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at HaXeContext.Context.ResolveImport(MemberModel item, MemberList imports) in C:\project\flashdevelop\External\Plugins\HaXeContext\Context.cs:line 834
at HaXeContext.Context.ResolveImports(FileModel inFile) in C:\project\flashdevelop\External\Plugins\HaXeContext\Context.cs:line 767
at HaXeContext.Context.ResolveType(String cname, FileModel inFile) in C:\project\flashdevelop\External\Plugins\HaXeContext\Context.cs:line 939
at ASCompletion.Model.ClassModel.ResolveExtendedType(List`1 extensionList) in C:\project\flashdevelop\External\Plugins\ASCompletion\Model\ClassModel.cs:line 139
at ASCompletion.Model.ClassModel.ResolveExtends() in C:\project\flashdevelop\External\Plugins\ASCompletion\Model\ClassModel.cs:line 105
at ASCompletion.Helpers.ASTCache.UpdateClass(ClassModel cls, Dictionary`2 cache) in C:\project\flashdevelop\External\Plugins\ASCompletion\Helpers\ASTCache.cs:line 256
at ASCompletion.Helpers.ASTCache.<UpdateOutdatedModels>b__10_0() in C:\project\flashdevelop\External\Plugins\ASCompletion\Helpers\ASTCache.cs:line 112
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Metadata
Metadata
Assignees
Labels
No labels