Skip to content

UnmanagedCallersOnly methods that require marshalling throw catchable exceptions #130233

Description

@MichalStrehovsky

In #130160 (comment) we noticed a test that is apparently successfully catching the exception that we throw when UnmanagedCallersOnly method requires marshalling. How does this exception survive through the managed/native transition on non-Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions