<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.7.26381.103" />

System.Reflection.Metadata.SignatureCallingConvention

Specifies how arguments in a given signature are passed from the caller to the callee. The underlying values of the fields in this type correspond to the representation in the leading signature byte represented by a SignatureHeader structure.
CDecl = 1

An unmanaged C/C++ style calling convention where the call stack is cleaned by the caller.

Default = 0

A managed calling convention with a fixed-length argument list.

An unmanaged calling convention where arguments are passed in registers when possible.

StdCall = 2

An unmanaged calling convention where the call stack is cleaned up by the callee.

An unmanaged C++ style calling convention for calling instance member functions with a fixed argument list.

Indicates that the specifics of the unmanaged calling convention are encoded as modopts.

VarArgs = 5

A managed calling convention for passing extra arguments.