Skip to content

Error in passing structure to native method on OSX #5612

@alsemenn

Description

@alsemenn

On OSX debug build (both native and managed) following occurs:
The number written by native part is not 10 (see attached source code).
But if struct layout changed to Sequential (in .cs file) everything works fine.

src.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Interop-coreclrdocumentationDocumentation bug or enhancement, does not impact product or test code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions