public IEnumerable <IMethod> GetMethods(IList <IType> typeArguments, Predicate <IUnresolvedMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.ReturnMemberDefinitions) == GetMemberOptions.ReturnMemberDefinitions) { return(genericType.GetMethods(typeArguments, filter, options)); } else { return(GetMembersHelper.GetMethods(this, typeArguments, filter, options)); } }
public IEnumerable <IMethod> GetMethods(Predicate <IMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.ReturnMemberDefinitions) == GetMemberOptions.ReturnMemberDefinitions) { return(genericType.GetMethods(filter, options)); } else { return(GetMembersHelper.GetMethods(this, filter, options)); } }
public override IEnumerable <IMethod> GetMethods(IList <IType> typeArguments, Predicate <IUnresolvedMethod> filter, GetMemberOptions options) { return(GetMembersHelper.GetMethods(this, typeArguments, filter, options)); }
public override IEnumerable <IMethod> GetMethods(Predicate <IUnresolvedMethod> filter, GetMemberOptions options) { return(GetMembersHelper.GetMethods(this, FilterNonStatic(filter), options)); }
public override IEnumerable <IMethod> GetMethods(ITypeResolveContext context, Predicate <IMethod> filter, GetMemberOptions options) { return(GetMembersHelper.GetMethods(this, context, FilterNonStatic(filter), options)); }
public IEnumerable <IMethod> GetMethods(IReadOnlyList <IType> typeArguments, Predicate <IMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) => typeArguments.Count == 0 ? GetMethods(filter, options) : GetMembersHelper.GetMethods(this, typeArguments, filter, options);
public IEnumerable <IMethod> GetMethods(Predicate <IMethod> filter = null, GetMemberOptions options = GetMemberOptions.None) => (options & GetMemberOptions.IgnoreInheritedMembers) != 0 ? this.Methods.Where(a => filter?.Invoke(a) ?? true) : GetMembersHelper.GetMethods(this, filter, options);
public override IEnumerable<IMethod> GetMethods(IReadOnlyList<IType> typeArguments, Predicate<IMethod> filter, GetMemberOptions options) { return GetMembersHelper.GetMethods(this, typeArguments, filter, options); }