6 instantiations of ListBuilder
System.Private.CoreLib (6)
src\System\RuntimeType.CoreCLR.cs (6)
2482ListBuilder<MethodInfo> candidates = new ListBuilder<MethodInfo>(cache.Length); 2507ListBuilder<ConstructorInfo> candidates = new ListBuilder<ConstructorInfo>(cache.Length); 2530ListBuilder<PropertyInfo> candidates = new ListBuilder<PropertyInfo>(cache.Length); 2553ListBuilder<EventInfo> candidates = new ListBuilder<EventInfo>(cache.Length); 2575ListBuilder<FieldInfo> candidates = new ListBuilder<FieldInfo>(cache.Length); 2597ListBuilder<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) 1983internal static void GetCustomAttributes(RuntimeType type, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2027internal static void GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2067internal static void GetCustomAttributes(RuntimeParameterInfo parameter, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2123internal static void GetCustomAttributes(RuntimeFieldInfo field, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas)
src\System\RuntimeType.CoreCLR.cs (41)
577ListBuilder<RuntimeMethodInfo> list = default; 743ListBuilder<RuntimeConstructorInfo> list = default; 791ListBuilder<RuntimeFieldInfo> list = default; 832private unsafe void PopulateRtFields(Filter filter, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 849ReadOnlySpan<IntPtr> fieldHandles, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 895private void PopulateLiteralFields(Filter filter, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 955ref ListBuilder<RuntimeType> list, 984ListBuilder<RuntimeType> list = default; 1071ListBuilder<RuntimeType> list = default; 1114ListBuilder<RuntimeEventInfo> list = default; 1139Filter filter, RuntimeType declaringType, Dictionary<string, RuntimeEventInfo>? csEventInfos, ref ListBuilder<RuntimeEventInfo> list) 1207ListBuilder<RuntimePropertyInfo> list = default; 1246ref ListBuilder<RuntimePropertyInfo> list) 2474private ListBuilder<MethodInfo> GetMethodCandidates( 2482ListBuilder<MethodInfo> candidates = new ListBuilder<MethodInfo>(cache.Length); 2499private ListBuilder<ConstructorInfo> GetConstructorCandidates( 2507ListBuilder<ConstructorInfo> candidates = new ListBuilder<ConstructorInfo>(cache.Length); 2521private ListBuilder<PropertyInfo> GetPropertyCandidates( 2530ListBuilder<PropertyInfo> candidates = new ListBuilder<PropertyInfo>(cache.Length); 2545private ListBuilder<EventInfo> GetEventCandidates(string? name, BindingFlags bindingAttr, bool allowPrefixLookup) 2553ListBuilder<EventInfo> candidates = new ListBuilder<EventInfo>(cache.Length); 2567private ListBuilder<FieldInfo> GetFieldCandidates(string? name, BindingFlags bindingAttr, bool allowPrefixLookup) 2575ListBuilder<FieldInfo> candidates = new ListBuilder<FieldInfo>(cache.Length); 2589private ListBuilder<Type> GetNestedTypeCandidates(string? fullname, BindingFlags bindingAttr, bool allowPrefixLookup) 2597ListBuilder<Type> candidates = new ListBuilder<Type>(cache.Length); 2658ListBuilder<MethodInfo> methods = GetMethodCandidates(null, GenericParameterCountAny, bindingAttr, CallingConventions.Any, null, false); 2659ListBuilder<ConstructorInfo> constructors = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false); 2660ListBuilder<PropertyInfo> properties = GetPropertyCandidates(null, bindingAttr, null, false); 2661ListBuilder<EventInfo> events = GetEventCandidates(null, bindingAttr, false); 2662ListBuilder<FieldInfo> fields = GetFieldCandidates(null, bindingAttr, false); 2663ListBuilder<Type> nestedTypes = GetNestedTypeCandidates(null, bindingAttr, false); 2789ListBuilder<MethodInfo> candidates = GetMethodCandidates(name, genericParameterCount, bindingAttr, callConv, types, false); 2825ListBuilder<ConstructorInfo> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, types, false); 2853ListBuilder<PropertyInfo> candidates = GetPropertyCandidates(name, bindingAttr, types, false); 3024ListBuilder<MethodInfo> methods = default; 3025ListBuilder<ConstructorInfo> constructors = default; 3026ListBuilder<PropertyInfo> properties = default; 3027ListBuilder<EventInfo> events = default; 3028ListBuilder<FieldInfo> fields = default; 3029ListBuilder<Type> nestedTypes = default; 3842ListBuilder<ConstructorInfo> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false);