Skip to content

Conversation

@davidwrighton
Copy link
Member

  • MDArrays are special and method references to the methods needs to be encoded with their type in more cases than normal methods
  • Only generate the owner type if the memberref does not encode the same owner type
  • Add tests for various multidimensional array scenarios to crossgen2smoke

Fix issue #38260

- MDArrays are special and method references to the methods needs to be encoded with their type
- Only generate the owner type if the memberref does not encode the same owner type
@davidwrighton
Copy link
Member Author

@dotnet/crossgen-contrib

public override int GetHashCode() { return x; }
}

struct SomeClass : IEquatable<SomeClass>
Copy link
Member

Choose a reason for hiding this comment

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

Should it be class?

@davidwrighton davidwrighton merged commit 36f0c48 into dotnet:master Jul 28, 2020
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
- MDArrays are special and method references to the methods needs to be encoded with their type in more cases than normal methods
- Only generate the owner type if the memberref does not encode the same owner type
- Add tests for various multidimensional array scenarios to crossgen2smoke

Fix issue dotnet#38260
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
@davidwrighton davidwrighton deleted the fix_mdarrays branch April 20, 2021 17:43
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.

CG2: Test failure JIT\Generics\Arrays\TypeParameters\MultiDim\class01 and struct01

4 participants