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