Enum CallingConventionAttributes
- Namespace
- AsmResolver.DotNet.Signatures
- Assembly
- AsmResolver.DotNet.dll
Provides members for describing all available attributes that can be used in a calling convention signature.
[Flags]
public enum CallingConventionAttributes : byte
Fields
C = 1Indicates a method is using the cdecl calling convention.
Default = 0Indicates a method is using the default calling convention specified by the runtime.
ExplicitThis = 64Indicates the current instance parameter is explicitly specified in the parameter list. That is, determines whether the first parameter is used for the current instance object.
FastCall = 4Indicates a method is using the fastcall calling convention.
Field = StdCall | FastCallIndicates the signature references a field signature.
Generic = 16Indicates the member defines generic parameters.
GenericInstance = StdCall | PropertyIndicates the signature references a generic method instantiation.
HasThis = 32Indicates the member is an instance member and an additional argument is required to use this member.
Local = C | FieldIndicates the signature references a list of local variable signatures.
NativeVarArg = C | GenericInstanceIndicates the method supports supplying a variable amount of arguments. This really is exactly native varargs (no cookie) and should only appear in PInvoke IL stubs.
Property = 8Indicates the signature references a property signature.
[Obsolete("This value should not be used. Use VarArg instead.")] Sentinel = C | ExplicitThisIndicates the signature is part of a vararg method signature.
StdCall = 2Indicates a method is using the stdcall calling convention.
ThisCall = C | StdCallIndicates a method is using the thiscall calling convention.
Unmanaged = C | PropertyIndicates the signature references an unmanaged function signature for which the calling convention is determined by the optional modifiers on the return type.
VarArg = C | FastCallIndicates the method supports supplying a variable amount of arguments.