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

◆ FilterApplyType()

static bool System.RuntimeType.FilterApplyType ( Type type,
BindingFlags bindingFlags,
string name,
bool prefixLookup,
string ns )
inlinestaticprivate

Definition at line 1985 of file RuntimeType.cs.

1986 {
1987 bool isPublic = type.IsNestedPublic || type.IsPublic;
1989 {
1990 return false;
1991 }
1992 if (ns != null && ns != type.Namespace)
1993 {
1994 return false;
1995 }
1996 return true;
1997 }
static bool FilterApplyBase(MemberInfo memberInfo, BindingFlags bindingFlags, bool isPublic, bool isNonProtectedInternal, bool isStatic, string name, bool prefixLookup)

References System.RuntimeType.FilterApplyBase(), and System.type.

Referenced by System.RuntimeType.GetInterface(), System.RuntimeType.GetNestedType(), and System.RuntimeType.GetNestedTypeCandidates().