Skip to content

Conversation

steveisok
Copy link
Member

This change prevents the aot compiler from erroring out when dealing with COM types that were not marked with MarshalAs attributes. In most scenarios that we support, we want to allow pinvokes to aot compile as in cases like anything COM interop, will end up with PNSE at runtime if you try to use it.

Fixes #104463

…_CONV_OBJECT_IUNKNOWN

This change prevents the aot compiler from erroring out when dealing with COM types that were not marked with MarshalAs attributes. In most scenarios that we support, we want to allow pinvokes to aot compile as in cases like anything COM interop, will end up erroring out if you try to use it.

Fixes dotnet#104463
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mono][wasm] DllImport with value-type args that contain unsupported marshalled fields crashes AOT compiler

4 participants