Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetMethodCandidates()

ListBuilder< MethodInfo > System.RuntimeType.GetMethodCandidates ( string name,
int genericParameterCount,
BindingFlags bindingAttr,
CallingConventions callConv,
Type[] types,
bool allowPrefixLookup )
inlineprivate

Definition at line 2146 of file RuntimeType.cs.

2147 {
2149 RuntimeMethodInfo[] methodList = Cache.GetMethodList(listType, name);
2152 {
2154 {
2155 result.Add(runtimeMethodInfo);
2156 }
2157 }
2158 return result;
2159 }
void Add(TKey key, TValue value)
static bool FilterApplyPrefixLookup(MemberInfo memberInfo, string name, bool ignoreCase)
static bool FilterApplyMethodInfo(RuntimeMethodInfo method, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
static void FilterHelper(BindingFlags bindingFlags, ref string name, bool allowPrefixLookup, out bool prefixLookup, out bool ignoreCase, out MemberListType listType)

References System.RuntimeType.FilterApplyMethodInfo(), System.RuntimeType.FilterApplyPrefixLookup(), and System.RuntimeType.FilterHelper().

Referenced by System.RuntimeType.GetMember(), System.RuntimeType.GetMembers(), System.RuntimeType.GetMethodImplCommon(), and System.RuntimeType.GetMethods().