Skip to content

[mono] Support copying arrays of compatible pointers #104197

@huoyaoyuan

Description

@huoyaoyuan

#104103 (comment)

If typeof(T*).IsAssignableFrom(typeof(U*)) is true (for example int* and uint*), coreclr allows Array.Copy from U*[] to T*[].
The managed logic has been updated in #104103. The unmanaged array_set_value_impl seems still throwing an error.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions