-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
User StoryA single user-facing feature. Can be grouped under an epic.A single user-facing feature. Can be grouped under an epic.area-VM-meta-mono
Milestone
Description
Contributes to #65112
- [mono] Support AcceptByRefLike metadata generic param attribute #94421
- JIT+AOT boxing elision support
- generic sharing support: As a first cut we should probably just always create specific instance code for byreflike instances. On the other hand, the
gpAcceptByRefLikeparam may allow gsharedvt to do a better job (since we know we would never need to box values of the type). Done in [mono] Add basic ref struct support for generic parameter #99081
- generic sharing support: As a first cut we should probably just always create specific instance code for byreflike instances. On the other hand, the
- Interp boxing elision support
- Need to delay type loading error until runtime for array of T with ByRefLike type #99165
The runtime design is specced out here: https://github.com/dotnet/runtime/blob/main/docs/design/features/byreflike-generics.md
There are tests in https://github.com/dotnet/runtime/tree/main/src/tests/Loader/classloader/generics/ByRefLike
Metadata
Metadata
Assignees
Labels
User StoryA single user-facing feature. Can be grouped under an epic.A single user-facing feature. Can be grouped under an epic.area-VM-meta-mono