Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono] Support copying arrays of compatible pointers #104197

Closed
huoyaoyuan opened this issue Jun 29, 2024 · 0 comments · Fixed by #104611
Closed

[mono] Support copying arrays of compatible pointers #104197

huoyaoyuan opened this issue Jun 29, 2024 · 0 comments · Fixed by #104611
Assignees
Milestone

Comments

@huoyaoyuan
Copy link
Member

huoyaoyuan commented Jun 29, 2024

#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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 29, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jun 29, 2024
@huoyaoyuan huoyaoyuan added area-VM-meta-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jun 29, 2024
@lambdageek lambdageek self-assigned this Jul 3, 2024
@lambdageek lambdageek added this to the 9.0.0 milestone Jul 3, 2024
@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Jul 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants