Lists the super types of a class.
Inheritance: ILSpyTreeNode
Example #1
0
        IEnumerable <ILSpyTreeNode> FetchChildren(CancellationToken ct)
        {
            // FetchChildren() runs on the main thread; but the enumerator will be consumed on a background thread
            var assemblies = list.GetAssemblies().Select(node => node.GetPEFileOrNull()).Where(asm => asm != null).ToArray();

            return(DerivedTypesTreeNode.FindDerivedTypes(list, type, assemblies, ct));
        }
Example #2
0
 IEnumerable <ILSpyTreeNode> FetchChildren(CancellationToken ct)
 {
     // FetchChildren() runs on the main thread; but the enumerator will be consumed on a background thread
     return(DerivedTypesTreeNode.FindDerivedTypes(type, assemblies, ct));
 }
 public virtual TreeViewNodeFilterResult GetFilterResult(DerivedTypesTreeNode node)
 {
     return filter.GetFilterResult(node);
 }
		public virtual TreeViewNodeFilterResult GetFilterResult(DerivedTypesTreeNode node) {
			return new TreeViewNodeFilterResult(FilterResult.Hidden, false);
		}
Example #5
0
		public override TreeViewNodeFilterResult GetFilterResult(DerivedTypesTreeNode node) {
			bool isMatch = (flags & VisibleMembersFlags.DerivedTypes) != 0;
			if (!isMatch)
				return new TreeViewNodeFilterResult(FilterResult.Hidden, isMatch);
			return new TreeViewNodeFilterResult(FilterResult.Match, isMatch);
		}