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

prevent BaseType from returning default #66955

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

pedrobsaila
Copy link
Contributor

Fixes #66810

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@MichalStrehovsky MichalStrehovsky merged commit 7a01e0f into dotnet:main Mar 22, 2022
@pedrobsaila pedrobsaila deleted the 66810 branch March 22, 2022 08:22
@josephmoresena
Copy link
Contributor

Thanks! Now Type.IsSubclassOf(Type) works in reflection-free-mode.

radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Mar 30, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-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.

NativeAOT: Type.BaseType throws exeption when there is no basetype in reflection-free-mode
3 participants