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