Skip to content

Assert handle is not null in HandleToObject#126797

Open
MichalPetryka wants to merge 1 commit intodotnet:mainfrom
MichalPetryka:patch-60
Open

Assert handle is not null in HandleToObject#126797
MichalPetryka wants to merge 1 commit intodotnet:mainfrom
MichalPetryka:patch-60

Conversation

@MichalPetryka
Copy link
Copy Markdown
Contributor

Add assertion to ensure handle is not null in HandleToObject method.

Beforehand, this resulted in a cryptic IndexOutOfRangeException.

Add assertion to ensure handle is not null in HandleToObject method.

Beforehand, this resulted in a cryptic IndexOutOfRangeException.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-crossgen2-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant