1 instantiation of QueryResult
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\RuntimeTypeInfo.BindingFlags.cs (1)
196
return new
QueryResult
<M>(bindingAttr, queriedMembers);
14 references to QueryResult
System.Reflection.MetadataLoadContext (14)
System\Reflection\Runtime\BindingFlagSupport\QueryResult.Enumerator.cs (1)
12
public QueryResultEnumerator(
QueryResult
<M> queryResult)
System\Reflection\TypeLoading\RuntimeTypeInfo.BindingFlags.cs (6)
18
QueryResult
<ConstructorInfo> queryResult = Query<ConstructorInfo>(bindingAttr);
81
QueryResult
<MethodInfo> queryResult = Query<MethodInfo>(name, bindingAttr);
123
QueryResult
<PropertyInfo> queryResult = Query<PropertyInfo>(name, bindingAttr);
165
private
QueryResult
<M> Query<M>(BindingFlags bindingAttr) where M : MemberInfo
170
private
QueryResult
<M> Query<M>(string name, BindingFlags bindingAttr) where M : MemberInfo
180
private
QueryResult
<M> Query<M>(string? optionalName, BindingFlags bindingAttr, Func<M, bool>? optionalPredicate) where M : MemberInfo
System\Reflection\TypeLoading\RuntimeTypeInfo.GetMember.cs (7)
49
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.Method, out
QueryResult
<MethodInfo> methods)) != null)
51
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.Constructor, out
QueryResult
<ConstructorInfo> constructors)) != null)
53
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.Property, out
QueryResult
<PropertyInfo> properties)) != null)
55
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.Event, out
QueryResult
<EventInfo> events)) != null)
57
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.Field, out
QueryResult
<FieldInfo> fields)) != null)
59
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.NestedType, out
QueryResult
<Type> nestedTypes)) != null)
94
private M[]? QuerySpecificMemberTypeIfRequested<M>(MemberTypes memberType, string? optionalName, BindingFlags bindingAttr, Func<MemberInfo, bool>? optionalPredicate, MemberTypes targetMemberType, out
QueryResult
<M> queryResult) where M : MemberInfo