Skip to content

DisabledRuntimeMarshalling_Disabled_NativeAssemblyDisabled failing with NativeAOT #84402

@MichalStrehovsky

Description

@MichalStrehovsky

We're hitting a RyuJIT assert at compile time because a NativeStructType instance size doesn't match the managed size.

We either shouldn't have NativeStructType instances in the system for anything with runtime marshalling disabled, or they need to take into account whether marshalling is disabled. Or we shouldn't have delegate marshallers in the first place (this is while doing a reverse p/invoke marshaller). It's all very confusing so I'm just filing a bug so I can disable building the test(s) against it.

Interop\DisabledRuntimeMarshalling\DisabledRuntimeMarshalling_Disabled_NativeAssemblyDisabled

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions