Skip to content

Developers using Reflection should be able to use pointers and function pointers #44327

@steveharter

Description

@steveharter

Treatment of pointers in general is hit-and-miss especially with the newer function pointer (delegate*) feature.

Currently with function pointers, an IntPtr or fnptr* types are returned, so it is not possible today to distinguish between function pointers and other uses of IntPtr, for example. It is also not possible to determine the parameter types, return type or the calling convention.

Metadata

Metadata

Assignees

Labels

Cost:LWork that requires one engineer up to 4 weeksPriority:2Work that is important, but not critical for the releaseTeam:LibrariesUser StoryA single user-facing feature. Can be grouped under an epic.area-System.ReflectiontrackingThis issue is tracking the completion of other related issues.

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions