25 references to Add
System.Private.CoreLib (25)
src\runtime\src\coreclr\tools\Common\Internal\LowLevelLinq\LowLevelEnumerable.ToArray.cs (1)
19
arrayBuilder.
Add
(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedFunctionPointerType.cs (5)
57
builder.
Add
(typeof(CallConvCdecl));
60
builder.
Add
(typeof(CallConvStdcall));
63
builder.
Add
(typeof(CallConvThiscall));
66
builder.
Add
(typeof(CallConvFastcall));
74
builder.
Add
(type);
System\Reflection\Attribute.NativeAot.cs (1)
142
attributes.
Add
(instantiatedAttribute);
System\Reflection\ModifiedType.NativeAot.cs (1)
107
builder.
Add
(modifiedType.ModifierType.Resolve(reader, new TypeContext(null, null)).ToType());
System\Reflection\Runtime\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (2)
146
customAttributeTypedArguments.
Add
(customAttributeTypedArgument);
186
customAttributeNamedArguments.
Add
(CreateCustomAttributeNamedArgument(this.AttributeType, memberName, isField, typedValue));
System\Reflection\Runtime\CustomAttributes\RuntimeCustomAttributeData.cs (1)
179
elementTypedArguments.
Add
(elementTypedArgument);
System\Reflection\Runtime\General\Helpers.cs (1)
150
attributes.
Add
(instantiatedAttribute);
System\Reflection\Runtime\General\MetadataReaderExtensions.cs (1)
130
keyOrTokenArrayBuilder.
Add
(b);
System\Reflection\Runtime\General\MetadataReaderExtensions.NativeFormat.cs (1)
89
customModifiers.
Add
(customModifier);
System\Reflection\Runtime\General\TypeResolver.NativeFormat.cs (1)
147
genericTypeArguments.
Add
(genericTypeArgument);
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfo.cs (1)
83
constraints.
Add
(new QTypeDefRefOrSpec(reader, constraintHandle.SkipCustomModifiers(reader)));
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (2)
268
genericTypeParameters.
Add
(genericParameterType);
299
directlyImplementedInterfaces.
Add
(new QTypeDefRefOrSpec(_reader, ifcHandle));
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (1)
161
result.
Add
(constraints[i]);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
277
result.
Add
(ifc);
282
result.
Add
(indirectIfc);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (4)
287
results.
Add
(finalist);
290
results.
Add
(semiFinalist);
342
results.
Add
(finalist);
345
results.
Add
(semiFinalist);