Esempio n. 1
0
 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));
     }
 }
Esempio n. 2
0
 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));
     }
 }
Esempio n. 3
0
 public override IEnumerable <IMethod> GetMethods(IList <IType> typeArguments, Predicate <IUnresolvedMethod> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetMethods(this, typeArguments, filter, options));
 }
Esempio n. 4
0
 public override IEnumerable <IMethod> GetMethods(Predicate <IUnresolvedMethod> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetMethods(this, FilterNonStatic(filter), options));
 }
Esempio n. 5
0
 public override IEnumerable <IMethod> GetMethods(ITypeResolveContext context, Predicate <IMethod> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetMethods(this, context, FilterNonStatic(filter), options));
 }
Esempio n. 6
0
 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);
Esempio n. 7
0
 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);
Esempio n. 8
0
		public override IEnumerable<IMethod> GetMethods(IReadOnlyList<IType> typeArguments, Predicate<IMethod> filter, GetMemberOptions options)
		{
			return GetMembersHelper.GetMethods(this, typeArguments, filter, options);
		}