mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Ports the WPF assemblyList_CollectionChanged history-prune from ILSpy/AssemblyTree/AssemblyTreeModel.cs to the Avalonia DockWorkspace.OnAssemblyListChanged handler. NavigationHistory<T> already exposed the RemoveAll(Predicate<T>) primitive; the caller wiring was the missing piece. Without it, a tree-row click after removing an assembly walked through NavigationEntry.DisplayText on a stale TreeNodeEntry, which hit MemberReferenceTreeNode.Signature -> Language.EntityToString -> ILAmbience.ConvertSymbol and NRE'd on a now-null ParentModule. Assisted-by: Claude:claude-opus-4-7:Claude Codepull/3755/head
2 changed files with 48 additions and 9 deletions
Loading…
Reference in new issue