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

◆ GetNestedTypeCandidates()

ListBuilder< Type > System.RuntimeType.GetNestedTypeCandidates ( string fullname,
BindingFlags bindingAttr,
bool allowPrefixLookup )
inlineprivate

Definition at line 2224 of file RuntimeType.cs.

2225 {
2226 bindingAttr &= ~BindingFlags.Static;
2227 SplitName(fullname, out var name, out var ns);
2229 RuntimeType[] nestedTypeList = Cache.GetNestedTypeList(listType, name);
2232 {
2234 {
2235 result.Add(runtimeType);
2236 }
2237 }
2238 return result;
2239 }
void Add(TKey key, TValue value)
static void SplitName(string fullname, out string name, out string ns)
static void FilterHelper(BindingFlags bindingFlags, ref string name, bool allowPrefixLookup, out bool prefixLookup, out bool ignoreCase, out MemberListType listType)
static bool FilterApplyType(Type type, BindingFlags bindingFlags, string name, bool prefixLookup, string ns)

References System.RuntimeType.FilterApplyType(), System.RuntimeType.FilterHelper(), and System.RuntimeType.SplitName().

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