Skip to content

Implement proper interop to PInvoke for structs contataining an object ref #4679

@LLITCHEV

Description

@LLITCHEV

Currently on Windows the CLR uses a VARIANT type to pass the object ref to the native PInvoke.
For non Windows systems it throws a TypeInitializationException.

After discussing with interop team a work is underway to either throw UnsupportedException or to properly marshal the obj ref.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions