6 instantiations of ListBuilder
System.Private.CoreLib (6)
src\System\RuntimeType.CoreCLR.cs (6)
2534ListBuilder<MethodInfo> candidates = new ListBuilder<MethodInfo>(cache.Length); 2559ListBuilder<ConstructorInfo> candidates = new ListBuilder<ConstructorInfo>(cache.Length); 2582ListBuilder<PropertyInfo> candidates = new ListBuilder<PropertyInfo>(cache.Length); 2605ListBuilder<EventInfo> candidates = new ListBuilder<EventInfo>(cache.Length); 2627ListBuilder<FieldInfo> candidates = new ListBuilder<FieldInfo>(cache.Length); 2649ListBuilder<Type> candidates = new ListBuilder<Type>(cache.Length);
62 references to ListBuilder
System.Private.CoreLib (62)
src\System\Reflection\RuntimeCustomAttributeData.cs (21)
23RuntimeType.ListBuilder<Attribute> pcas = default; 33RuntimeType.ListBuilder<Attribute> pcas = default; 43RuntimeType.ListBuilder<Attribute> pcas = default; 92RuntimeType.ListBuilder<Attribute> pcas = default; 98private static ReadOnlyCollection<CustomAttributeData> GetCombinedList(IList<CustomAttributeData> customAttributes, ref RuntimeType.ListBuilder<Attribute> pseudoAttributes) 1254RuntimeType.ListBuilder<Attribute> pcas = default; 1267RuntimeType.ListBuilder<object> result = default; 1296RuntimeType.ListBuilder<Attribute> pcas = default; 1309RuntimeType.ListBuilder<object> result = default; 1365RuntimeType.ListBuilder<Attribute> pcas = default; 1377RuntimeType.ListBuilder<Attribute> pcas = default; 1433RuntimeType.ListBuilder<object> derivedAttributes = default; 1472RuntimeType.ListBuilder<object> attributes = default; 1489ref RuntimeType.ListBuilder<object> attributes, 1493RuntimeType.ListBuilder<object> derivedAttributes) 1625ref RuntimeType.ListBuilder<object> derivedAttributes, 1732RuntimeType attributeType, bool mustBeInheritable, ref RuntimeType.ListBuilder<object> derivedAttributes) 1984internal static void GetCustomAttributes(RuntimeType type, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2028internal static void GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2068internal static void GetCustomAttributes(RuntimeParameterInfo parameter, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2124internal static void GetCustomAttributes(RuntimeFieldInfo field, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas)
src\System\RuntimeType.CoreCLR.cs (41)
580ListBuilder<RuntimeMethodInfo> list = default; 761ListBuilder<RuntimeConstructorInfo> list = default; 816ListBuilder<RuntimeFieldInfo> list = default; 857private unsafe void PopulateRtFields(Filter filter, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 874ReadOnlySpan<IntPtr> fieldHandles, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 926private void PopulateLiteralFields(Filter filter, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 993ref ListBuilder<RuntimeType> list, 1022ListBuilder<RuntimeType> list = default; 1109ListBuilder<RuntimeType> list = default; 1152ListBuilder<RuntimeEventInfo> list = default; 1177Filter filter, RuntimeType declaringType, Dictionary<string, RuntimeEventInfo>? csEventInfos, ref ListBuilder<RuntimeEventInfo> list) 1250ListBuilder<RuntimePropertyInfo> list = default; 1289ref ListBuilder<RuntimePropertyInfo> list) 2526private ListBuilder<MethodInfo> GetMethodCandidates( 2534ListBuilder<MethodInfo> candidates = new ListBuilder<MethodInfo>(cache.Length); 2551private ListBuilder<ConstructorInfo> GetConstructorCandidates( 2559ListBuilder<ConstructorInfo> candidates = new ListBuilder<ConstructorInfo>(cache.Length); 2573private ListBuilder<PropertyInfo> GetPropertyCandidates( 2582ListBuilder<PropertyInfo> candidates = new ListBuilder<PropertyInfo>(cache.Length); 2597private ListBuilder<EventInfo> GetEventCandidates(string? name, BindingFlags bindingAttr, bool allowPrefixLookup) 2605ListBuilder<EventInfo> candidates = new ListBuilder<EventInfo>(cache.Length); 2619private ListBuilder<FieldInfo> GetFieldCandidates(string? name, BindingFlags bindingAttr, bool allowPrefixLookup) 2627ListBuilder<FieldInfo> candidates = new ListBuilder<FieldInfo>(cache.Length); 2641private ListBuilder<Type> GetNestedTypeCandidates(string? fullname, BindingFlags bindingAttr, bool allowPrefixLookup) 2649ListBuilder<Type> candidates = new ListBuilder<Type>(cache.Length); 2710ListBuilder<MethodInfo> methods = GetMethodCandidates(null, GenericParameterCountAny, bindingAttr, CallingConventions.Any, null, false); 2711ListBuilder<ConstructorInfo> constructors = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false); 2712ListBuilder<PropertyInfo> properties = GetPropertyCandidates(null, bindingAttr, null, false); 2713ListBuilder<EventInfo> events = GetEventCandidates(null, bindingAttr, false); 2714ListBuilder<FieldInfo> fields = GetFieldCandidates(null, bindingAttr, false); 2715ListBuilder<Type> nestedTypes = GetNestedTypeCandidates(null, bindingAttr, false); 2841ListBuilder<MethodInfo> candidates = GetMethodCandidates(name, genericParameterCount, bindingAttr, callConv, types, false); 2877ListBuilder<ConstructorInfo> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, types, false); 2905ListBuilder<PropertyInfo> candidates = GetPropertyCandidates(name, bindingAttr, types, false); 3076ListBuilder<MethodInfo> methods = default; 3077ListBuilder<ConstructorInfo> constructors = default; 3078ListBuilder<PropertyInfo> properties = default; 3079ListBuilder<EventInfo> events = default; 3080ListBuilder<FieldInfo> fields = default; 3081ListBuilder<Type> nestedTypes = default; 3916ListBuilder<ConstructorInfo> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false);