Пример #1
0
        public static void FindDerivedMembers(IMember member, Action <ISearchProgressMonitor, IEntity> reportFunction)
        {
            ITypeDefinition declaringTypeDefinition = member.DeclaringTypeDefinition;

            if (declaringTypeDefinition != null)
            {
                FindDerivedSymbolsHelper.FindDerivedSymbols(declaringTypeDefinition, member, reportFunction);
            }
        }
Пример #2
0
 //
 // Static Methods
 //
 public static void FindDerivedClasses(ITypeDefinition cls, Action <ISearchProgressMonitor, IEntity> reportFunction)
 {
     FindDerivedSymbolsHelper.FindDerivedSymbols(cls, null, reportFunction);
 }