-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MethodCallingConvention
lacks entry for "default unmanaged calling convention"
#842
Comments
Ah I see here that So the entry needed is for what is called |
Oh, looks like the canonical name is |
Wish MS was better at documenting things properly in one place once a language proposal is accepted. |
When using a function pointer in C#, the following syntax is available, with corresponding calling convention values:
So the "unmanaged without explicit calling convention" case currently does not have a name in the enum yet.
Suggested name:
DefaultUnmanaged
(I'd preferDefault
with the currentDefault
becomingManaged
, because all values other than 0 imply unmanaged calls, but that's an API break).(I can't find anything that suggests the enum values
VarArg
andGeneric
are usable in C# (perhaps they are a Mono-only thing?).)The text was updated successfully, but these errors were encountered: