CallingConvention Enumeration |
Determines the calling convention of methods.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[FlagsAttribute] public enum CallingConvention
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Default. | |
UnmanagedCdecl | 1 | Unmanaged cdecl. | |
UnmanagedStdCall | 2 | Unmanaged StdCall. | |
UnmanagedThisCall | 3 | Unmanaged ThisCall. | |
UnmanagedFastCall | 4 | Unmanaged FastCall. | |
VarArg | 5 | Managed VarArg. | |
NativeVarArg | 11 | NativeVarArg (Used ONLY for 64bit vararg PInvoke calls). | |
CallingConventionMask | 15 | Bit mask for the calling convention. | |
HasThis | 32 | There is a this parameter. | |
ExplicitThis | 64 | The this parameter is explicitly in the signature. |