Skip to content
New issue

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

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

Already on GitHub? # 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
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
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