Skip to content

Fixes to the covariant returns support #37265

@janvorli

Description

@janvorli

This issue tracks changes we will likely want to make to the covariant returns support after the #35308 merge.

  • Visit the pointers, byrefs, function pointer returns scenarios and determine if they should be supported, and add test coverage.
  • Add a chapter on the covariant returns to https://github.com/dotnet/runtime/blob/master/docs/design/specs/Ecma-335-Augments.md ? Try to match the style and language used by ECMA-335 (e.g. in the ideal case - we would just copy&paste it over once we figure out how to make edits to ECMA-335).
  • Crossgen2 - for performance reasons, we will likely need to burn a MethodFlags bit for RequiresSlotUnification (in the AttributeMetadataCache category) and make this a proper member on MethodDesc.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions