There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
UndoRedoList<T>.Clear() does not clear the list if a change has already been recorded for the list
If there are changes already recorded for an UndoRedoList<T> then when calling Clear(), it doesn't actually clear the list. It appears the item is already Enlisted in the currentCommand changes such that when you call Enlist(false), it skips the
section where a new list is instantiated thereby clearing the list.
A workaround is to cast the UndoRedoList<T> to an IList. The IList.Clear() is implemented correctly.