FindDerivedTypes() static private méthode

static private FindDerivedTypes ( TypeDefinition type, ModuleDefinition assemblies ) : IEnumerable
type TypeDefinition
assemblies ModuleDefinition
Résultat IEnumerable
Exemple #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));
        }
 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));
 }