HashSet collection error

2 posts, 0 answers
  1. Jason
    Jason avatar
    4 posts
    Member since:
    Jan 2008

    Posted 12 Jul 2011 Link to this post

    This was with the latest beta.  Was looking up some information on SqlDataReader references.  I had control left clicked the SqlDataReader and gotten a list in the other window.  When I went to click in the other window it crashed with this error.

    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!


    System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

       at System.Collections.Generic.HashSet`1.Enumerator.MoveNext()

       at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)

       at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)

       at Telerik.JustDecompiler.Languages.CSharp.CSharpV3.InitializeLanguageSpecificGlobalKeywords()

       at Telerik.JustDecompiler.Languages.CSharp.CSharpV4.InitializeLanguageSpecificGlobalKeywords()

       at Telerik.JustDecompiler.Languages.CSharp.CSharpV1..ctor()

       at JustDecompile.FindUsages.ViewModels.FindUsagesViewModel..–.(Object x) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.FindUsages\ViewModels\FindUsagesViewModel.cs:line 782

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

       at System.Threading.ThreadPoolWorkQueue.Dispatch()

       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

  2. Yordan Dikov
    Yordan Dikov avatar
    69 posts

    Posted 20 Jul 2011 Link to this post

    Hi Jason,

     Thank you for pointing out the issue. Fortunately, it is fixed already. So, please, grab the latest version.

    Yordan Dikov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top