Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Creation of pointer arrays is on a similar plan to multi-dim arrays - we create them from a template type, but the template is slightly off. Previously, EETypeCreator would massage the bits into the correct shape, but now we mostly just copy the bits from the template. Use a more precise template for pointer arrays.
Without this, the base size and element type of pointer arrays was slightly wrong.
I'm also deleting the duplicated "use a special template for this one" logic.
This should fix #79403 (it didn't repro for me locally, but I didn't try too hard because I just followed a hunch and saw the
MethodTable
being wrong).Cc @dotnet/ilc-contrib