Skip to content

Declaring an unmanaged delegate* type doesn't seem to be possible #7540

Answered by 333fred
Rosentti asked this question in Q&A
Discussion options

You must be logged in to vote

C# 12 will allow you to make a global using alias for pointer types, like global unsafe using MyFunc = delegate*<void>;. Outside of that, there is no way to declare a specific name for a function pointer definko, just like there is no way to declare a specific name for any other pointer type.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rosentti
Comment options

Answer selected by Rosentti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants