18 references to ToArray
System.Private.CoreLib (18)
src\runtime\src\coreclr\tools\Common\Internal\LowLevelLinq\LowLevelEnumerable.ToArray.cs (1)
21return arrayBuilder.ToArray();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedFunctionPointerType.cs (1)
80return builder.ToArray();
System\Reflection\Attribute.NativeAot.cs (1)
147return attributes.ToArray();
System\Reflection\ModifiedType.NativeAot.cs (1)
110Type[] result = builder.ToArray();
System\Reflection\Runtime\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (2)
150return customAttributeTypedArguments.ToArray(); 188return customAttributeNamedArguments.ToArray();
System\Reflection\Runtime\CustomAttributes\RuntimeCustomAttributeData.cs (1)
181return new CustomAttributeTypedArgument(argumentType, new ReadOnlyCollection<CustomAttributeTypedArgument>(elementTypedArguments.ToArray()));
System\Reflection\Runtime\General\Helpers.cs (1)
158return attributes.ToArray();
System\Reflection\Runtime\General\MetadataReaderExtensions.cs (1)
137keyOrTokenArrayBuilder.ToArray()
System\Reflection\Runtime\General\MetadataReaderExtensions.NativeFormat.cs (1)
97return customModifiers.ToArray();
System\Reflection\Runtime\General\TypeResolver.NativeFormat.cs (1)
149return genericTypeDefinition.GetConstructedGenericTypeNoConstraintCheck(genericTypeArguments.ToArray());
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfo.cs (1)
85return constraints.ToArray();
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (2)
271return genericTypeParameters.ToArray(); 300return directlyImplementedInterfaces.ToArray();
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (1)
163return result.ToArray();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
286return result.ToArray();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (2)
296finalists = results.ToArray(); 351finalists = results.ToArray();