PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Calling­Convention Enumeration

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)
public enum CallingConvention
  Member nameValueDescription
Default0 Default.
UnmanagedCdecl1 Unmanaged cdecl.
UnmanagedStdCall2 Unmanaged StdCall.
UnmanagedThisCall3 Unmanaged ThisCall.
UnmanagedFastCall4 Unmanaged FastCall.
VarArg5 Managed VarArg.
NativeVarArg11 NativeVarArg (Used ONLY for 64bit vararg PInvoke calls).
CallingConventionMask15 Bit mask for the calling convention.
HasThis32 There is a this parameter.
ExplicitThis64 The this parameter is explicitly in the signature.
See Also