-
-
Notifications
You must be signed in to change notification settings - Fork 37
Exceptions in HistoryHelper #160
Copy link
Copy link
Closed
Labels
Description
Exceptions
[Exception] Error updating CodeDocumentViewModel
Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext()
at CodeNav.OutOfProc.Helpers.HistoryHelper.ApplyHistoryIndicator(CodeDocumentViewModel model)
at CodeNav.OutOfProc.Services.CodeDocumentService.UpdateCodeDocumentViewModel(VisualStudioExtensibility extensibility, ITextViewSnapshot textView, CancellationToken cancellationToken)
[Exception] Error adding item to history
Index was outside the bounds of the array.
at System.Collections.Generic.List`1.RemoveAll(Predicate`1 match)
at CodeNav.OutOfProc.Helpers.HistoryHelper.AddItemToHistory(CodeItem item)
at CodeNav.OutOfProc.Helpers.HistoryHelper.AddItemToHistory(CodeDocumentViewModel codeDocumentViewModel, IEnumerable`1 textEdits)
Links
https://stackoverflow.com/questions/14260658/linq-index-out-of-bounds
Reactions are currently unavailable