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

◆ GetFieldCandidates()

ListBuilder< FieldInfo > System.RuntimeType.GetFieldCandidates ( string name,
BindingFlags bindingAttr,
bool allowPrefixLookup )
inlineprivate

Definition at line 2208 of file RuntimeType.cs.

2209 {
2211 RuntimeFieldInfo[] fieldList = Cache.GetFieldList(listType, name);
2212 bindingAttr ^= BindingFlags.DeclaredOnly;
2215 {
2217 {
2218 result.Add(runtimeFieldInfo);
2219 }
2220 }
2221 return result;
2222 }
void Add(TKey key, TValue value)
static bool FilterApplyPrefixLookup(MemberInfo memberInfo, string name, bool ignoreCase)
static void FilterHelper(BindingFlags bindingFlags, ref string name, bool allowPrefixLookup, out bool prefixLookup, out bool ignoreCase, out MemberListType listType)

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

Referenced by System.RuntimeType.GetFields(), System.RuntimeType.GetMember(), and System.RuntimeType.GetMembers().