Conv Cdecl Class
Indicates that a method should use the
Cdecl calling convention.
public ref class CallConvCdecl
public class CallConvCdecl
[System.Runtime.InteropServices.ComVisible(true)] public class CallConvCdecl
type CallConvCdecl = class
[<System.Runtime.InteropServices.ComVisible(true)>] type CallConvCdecl = class
Public Class CallConvCdecl
The caller cleans the stack. This enables calling functions with
This class is used only as a custom modifier of the metadata signature of a method.
The classes in System.Runtime.CompilerServices are for compiler writers' use only.
Compilers emit custom modifiers within metadata to change the way that the just-in-time (JIT) compiler handles values when the default behavior is not appropriate. When the JIT compiler encounters a custom modifier, it handles the value in the way that the modifier specifies. Compilers can apply custom modifiers to methods, parameters, and return values. The JIT compiler must respond to required modifiers but can ignore optional modifiers. A C++ compiler could emit a custom modifier to describe how a byte should be treated in cases where the JIT compiler treats bytes in a manner that is not compatible with C++ by default.
You can emit custom modifiers into metadata using one of the following techniques:
Generating a Microsoft intermediate language (MSIL) instruction file that contains calls to
modreq, and assembling the file with the Ilasm.exe (IL Assembler).
Using the unmanaged reflection API.
Initializes a new instance of the CallConvCdecl class.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)