5 references to Instance
System.Private.CoreLib (5)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.BindingFlags.cs (2)
94
public Type[] GetNestedTypes(BindingFlags bindingAttr) => Query<Type>(NestedTypePolicies.
Instance
, bindingAttr).ToArray();
96
public Type GetNestedType(string name, BindingFlags bindingAttr) => Query<Type>(NestedTypePolicies.
Instance
, name, bindingAttr).Disambiguate();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (3)
63
if ((results = QuerySpecificMemberTypeIfRequested(NestedTypePolicies.
Instance
, type, optionalName, bindingAttr, predicate, MemberTypes.NestedType, out nestedTypes)) != null)
67
if ((results = QuerySpecificMemberTypeIfRequested(NestedTypePolicies.
Instance
, type, optionalName, bindingAttr, predicate, MemberTypes.TypeInfo, out nestedTypes)) != null)
165
MemberTypes.NestedType => QueryMemberWithSameMetadataDefinitionAs(NestedTypePolicies.
Instance
, member),