Fix Crossgen2 compilation failures in several type generator tests (#51090)
As the PR https://github.com/dotnet/runtime/pull/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
Showing
想要评论请 注册 或 登录