Skip to content

[mono] Fix passing of NULL via mono_runtime_invoke to method expecting nullable - #79597

Merged
BrzVlad merged 1 commit into
dotnet:mainfrom
BrzVlad:fix-invoke-api-regression
Dec 13, 2022
Merged

[mono] Fix passing of NULL via mono_runtime_invoke to method expecting nullable#79597
BrzVlad merged 1 commit into
dotnet:mainfrom
BrzVlad:fix-invoke-api-regression

Conversation

@BrzVlad

Copy link
Copy Markdown
Member

The code was always trying to unbox the boxed vt, not accounting for NULL.

Fixes embedding api regression following #72717

…g nullable
The code was always trying to unbox the boxed vt, not accounting for NULL.
@BrzVlad

Copy link
Copy Markdown
MemberAuthor

@rolfbjarne

@BrzVlad
BrzVlad merged commit 4efdaf5 into dotnet:mainDec 13, 2022
@ghostghost locked as resolved and limited conversation to collaborators Jan 12, 2023
Sign up for freeto 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.

2 participants

@BrzVlad@vargaz