Skip to content

[mono] Incorrect cast_class for IntPtr[] #97145

@WhiteSmoogy

Description

@WhiteSmoogy

Description

mono repo has a intptr array Unit Test code:

public static int test_0_intptr_array_cast () {

This test case argues that an integer type array should be able to convert the pointer type array
It's produce difference value
.Net Framwork = 0
.Net Core = 5

It like there's something wrong with the .Net Framework

Metadata

Metadata

Assignees

Labels

area-VM-meta-monoin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions