Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize managed and native values in the ICustomMarshaler marshaler to null when the other is null. #109092

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

jkoritzinsky
Copy link
Member

Fixes #109033

@AaronRobinsonMSFT
Copy link
Member

@jkoritzinsky This also needs to be pushed into .NET 9 for post GA servicing.

@jkoritzinsky
Copy link
Member Author

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/11452044120

@jkoritzinsky jkoritzinsky merged commit 4e1a15e into dotnet:main Oct 22, 2024
88 checks passed
@jkoritzinsky jkoritzinsky deleted the uninitialized-fix branch October 22, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[.NET 9] DllImport with Custom Marshaler Passes non-null address when null value for field is specified.
3 participants