public TabVM(TabsVM owner, IFileTab tab) { this.owner = owner; this.tab = tab; var node = tab.Content.Nodes.FirstOrDefault().GetTopNode(); this.file = node == null ? null : node.DnSpyFile; }