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

Fix Crossgen2 compilation failures in several type generator tests #51090

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

trylek
Copy link
Member

@trylek trylek commented Apr 11, 2021

As the PR

#44041

effectively decoupled OwningType from Method in MethodWithToken,
I believe we now need to include OwningType in the Equals check,
otherwise we may (and sometimes do) crash in the assertion failure
checking that OwningType matches between instances.

Thanks

Tomas

/cc @dotnet/crossgen-contrib

@trylek trylek added this to the 6.0.0 milestone Apr 11, 2021
@trylek trylek requested a review from davidwrighton April 11, 2021 22:24
As the PR

dotnet#44041

effectively decoupled OwningType from Method in MethodWithToken,
I believe we now need to include OwningType in the Equals check,
otherwise we may (and sometimes do) crash in the assertion failure
checking that OwningType matches between instances.

Thanks

Tomas
@trylek trylek merged commit 53d3bdd into dotnet:main Apr 13, 2021
@trylek trylek deleted the FixTypeGeneratorTestAssert branch April 13, 2021 23:40
@ghost ghost locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to 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