Skip to content

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