Closed
Description
This issue captures the planned work for .NET 8. This list is expected to change throughout the release cycle according to ongoing planning and discussions, with possible additions and subtractions to the scope.
Planned for .NET 8
Function Pointers
- [original issue]: Representation of function pointer types in the reflection stack
- [API Proposal]: Reflection introspection support for FunctionPointer
- [API Proposal]: Reflection invoke support for FunctionPointer
- [API Proposal]: IL Emit support for FunctionPointer
Invoke
- [prototype created] [User Story]: Developers using reflection invoke should be able to use ref struct
- [prototype created] [API Proposal]: byref parameter collection for invoke
- [prototype created] Support byref invoke for return parameter and target (plumbing; no public API changes)
- [prototype created] [API Proposal] Add reflection support to byref-like types
- Change IL Emit invoke path to use function pointers and OpCodes.Calli
- Support fast field get\set.
Activator
- API proposal: Activator.CreateFactory and ConstructorInfo.CreateDelegate
- Have
ConstructorInfo
useActivator.CreateInstance()
instead of emit for default constructors
Misc backlog
The following are higher priority issues that are affecting the community and for the most part, do not include features or bugs that have reasonable workarounds.
- Runtime: Support for reflection-invoking methods that take pointers by reference
- FileNotFoundException resource files is slowing things down ridiculously