public static IEnumerable <EventInfo> GetAllEvents(this TypeInfo typeInfo) => typeInfo.GetAll(ti => ti.DeclaredEvents);
public static IEnumerable <ConstructorInfo> GetAllConstructors(this TypeInfo typeInfo) => typeInfo.GetAll(ti => ti.DeclaredConstructors);
public static IEnumerable <PropertyInfo> GetAllProperties(this TypeInfo typeInfo) => typeInfo.GetAll(ti => ti.DeclaredProperties);
public static IEnumerable <TypeInfo> GetAllNestedTypes(this TypeInfo typeInfo) => typeInfo.GetAll(ti => ti.DeclaredNestedTypes);
public static IEnumerable <MethodInfo> GetAllMethods(this TypeInfo typeInfo) => typeInfo.GetAll(ti => ti.DeclaredMethods);
public static IEnumerable <FieldInfo> GetAllFields(this TypeInfo typeInfo) => typeInfo.GetAll(ti => ti.DeclaredFields);