public IEnumerable <IMethod> GetMethods(IList <IType> typeArguments, Predicate <IUnresolvedMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.IgnoreInheritedMembers) == GetMemberOptions.IgnoreInheritedMembers) { return(EmptyList <IMethod> .Instance); } else { return(GetMembersHelper.GetMethods(this, typeArguments, FilterNonStatic(filter), options)); } }
public virtual IEnumerable <IMethod> GetMethods(Predicate <IUnresolvedMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.IgnoreInheritedMembers) == GetMemberOptions.IgnoreInheritedMembers) { return(GetFilteredMethods(Base.ExtensionMethods.And(m => !m.IsConstructor, filter))); } else { return(GetMembersHelper.GetMethods(this, filter, options)); } }
public virtual IEnumerable <IMethod> GetMethods(IList <IType> typeArguments, Predicate <IUnresolvedMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) { return(GetMembersHelper.GetMethods(this, typeArguments, filter, options)); }