internal static void AddBaseTypes(List<ILSpyTreeNode> children, TypeDefinition type) { if (type.BaseType != null) children.Add(new BaseTypesEntryNode(type.BaseType, false)); foreach (TypeReference i in type.Interfaces) { children.Add(new BaseTypesEntryNode(i, true)); } }
protected override void LoadChildren() { if (def != null) { BaseTypesTreeNode.AddBaseTypes(this.Children, def); } }