6 instantiations of ListBuilder
System.Private.CoreLib (6)
src\System\RuntimeType.CoreCLR.cs (6)
2533
ListBuilder<MethodInfo> candidates = new
ListBuilder
<MethodInfo>(cache.Length);
2558
ListBuilder<ConstructorInfo> candidates = new
ListBuilder
<ConstructorInfo>(cache.Length);
2581
ListBuilder<PropertyInfo> candidates = new
ListBuilder
<PropertyInfo>(cache.Length);
2604
ListBuilder<EventInfo> candidates = new
ListBuilder
<EventInfo>(cache.Length);
2626
ListBuilder<FieldInfo> candidates = new
ListBuilder
<FieldInfo>(cache.Length);
2648
ListBuilder<Type> candidates = new
ListBuilder
<Type>(cache.Length);
62 references to ListBuilder
System.Private.CoreLib (62)
src\System\Reflection\RuntimeCustomAttributeData.cs (21)
23
RuntimeType.
ListBuilder
<Attribute> pcas = default;
33
RuntimeType.
ListBuilder
<Attribute> pcas = default;
43
RuntimeType.
ListBuilder
<Attribute> pcas = default;
92
RuntimeType.
ListBuilder
<Attribute> pcas = default;
98
private static ReadOnlyCollection<CustomAttributeData> GetCombinedList(IList<CustomAttributeData> customAttributes, ref RuntimeType.
ListBuilder
<Attribute> pseudoAttributes)
1254
RuntimeType.
ListBuilder
<Attribute> pcas = default;
1267
RuntimeType.
ListBuilder
<object> result = default;
1296
RuntimeType.
ListBuilder
<Attribute> pcas = default;
1309
RuntimeType.
ListBuilder
<object> result = default;
1365
RuntimeType.
ListBuilder
<Attribute> pcas = default;
1377
RuntimeType.
ListBuilder
<Attribute> pcas = default;
1433
RuntimeType.
ListBuilder
<object> derivedAttributes = default;
1472
RuntimeType.
ListBuilder
<object> attributes = default;
1489
ref RuntimeType.
ListBuilder
<object> attributes,
1493
RuntimeType.
ListBuilder
<object> derivedAttributes)
1625
ref RuntimeType.
ListBuilder
<object> derivedAttributes,
1732
RuntimeType attributeType, bool mustBeInheritable, ref RuntimeType.
ListBuilder
<object> derivedAttributes)
1983
internal static void GetCustomAttributes(RuntimeType type, RuntimeType caType, ref RuntimeType.
ListBuilder
<Attribute> pcas)
2027
internal static void GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, ref RuntimeType.
ListBuilder
<Attribute> pcas)
2067
internal static void GetCustomAttributes(RuntimeParameterInfo parameter, RuntimeType caType, ref RuntimeType.
ListBuilder
<Attribute> pcas)
2123
internal static void GetCustomAttributes(RuntimeFieldInfo field, RuntimeType caType, ref RuntimeType.
ListBuilder
<Attribute> pcas)
src\System\RuntimeType.CoreCLR.cs (41)
579
ListBuilder
<RuntimeMethodInfo> list = default;
760
ListBuilder
<RuntimeConstructorInfo> list = default;
815
ListBuilder
<RuntimeFieldInfo> list = default;
856
private unsafe void PopulateRtFields(Filter filter, RuntimeType declaringType, ref
ListBuilder
<RuntimeFieldInfo> list)
873
ReadOnlySpan<IntPtr> fieldHandles, RuntimeType declaringType, ref
ListBuilder
<RuntimeFieldInfo> list)
925
private void PopulateLiteralFields(Filter filter, RuntimeType declaringType, ref
ListBuilder
<RuntimeFieldInfo> list)
992
ref
ListBuilder
<RuntimeType> list,
1021
ListBuilder
<RuntimeType> list = default;
1108
ListBuilder
<RuntimeType> list = default;
1151
ListBuilder
<RuntimeEventInfo> list = default;
1176
Filter filter, RuntimeType declaringType, Dictionary<string, RuntimeEventInfo>? csEventInfos, ref
ListBuilder
<RuntimeEventInfo> list)
1249
ListBuilder
<RuntimePropertyInfo> list = default;
1288
ref
ListBuilder
<RuntimePropertyInfo> list)
2525
private
ListBuilder
<MethodInfo> GetMethodCandidates(
2533
ListBuilder
<MethodInfo> candidates = new ListBuilder<MethodInfo>(cache.Length);
2550
private
ListBuilder
<ConstructorInfo> GetConstructorCandidates(
2558
ListBuilder
<ConstructorInfo> candidates = new ListBuilder<ConstructorInfo>(cache.Length);
2572
private
ListBuilder
<PropertyInfo> GetPropertyCandidates(
2581
ListBuilder
<PropertyInfo> candidates = new ListBuilder<PropertyInfo>(cache.Length);
2596
private
ListBuilder
<EventInfo> GetEventCandidates(string? name, BindingFlags bindingAttr, bool allowPrefixLookup)
2604
ListBuilder
<EventInfo> candidates = new ListBuilder<EventInfo>(cache.Length);
2618
private
ListBuilder
<FieldInfo> GetFieldCandidates(string? name, BindingFlags bindingAttr, bool allowPrefixLookup)
2626
ListBuilder
<FieldInfo> candidates = new ListBuilder<FieldInfo>(cache.Length);
2640
private
ListBuilder
<Type> GetNestedTypeCandidates(string? fullname, BindingFlags bindingAttr, bool allowPrefixLookup)
2648
ListBuilder
<Type> candidates = new ListBuilder<Type>(cache.Length);
2709
ListBuilder
<MethodInfo> methods = GetMethodCandidates(null, GenericParameterCountAny, bindingAttr, CallingConventions.Any, null, false);
2710
ListBuilder
<ConstructorInfo> constructors = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false);
2711
ListBuilder
<PropertyInfo> properties = GetPropertyCandidates(null, bindingAttr, null, false);
2712
ListBuilder
<EventInfo> events = GetEventCandidates(null, bindingAttr, false);
2713
ListBuilder
<FieldInfo> fields = GetFieldCandidates(null, bindingAttr, false);
2714
ListBuilder
<Type> nestedTypes = GetNestedTypeCandidates(null, bindingAttr, false);
2840
ListBuilder
<MethodInfo> candidates = GetMethodCandidates(name, genericParameterCount, bindingAttr, callConv, types, false);
2876
ListBuilder
<ConstructorInfo> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, types, false);
2904
ListBuilder
<PropertyInfo> candidates = GetPropertyCandidates(name, bindingAttr, types, false);
3075
ListBuilder
<MethodInfo> methods = default;
3076
ListBuilder
<ConstructorInfo> constructors = default;
3077
ListBuilder
<PropertyInfo> properties = default;
3078
ListBuilder
<EventInfo> events = default;
3079
ListBuilder
<FieldInfo> fields = default;
3080
ListBuilder
<Type> nestedTypes = default;
3894
ListBuilder
<ConstructorInfo> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false);