CallConvFastcall Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This calling convention is not supported in this version of .NET.
public ref class CallConvFastcall
public class CallConvFastcall
[System.Runtime.InteropServices.ComVisible(true)]
public class CallConvFastcall
type CallConvFastcall = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type CallConvFastcall = class
Public Class CallConvFastcall
- Inheritance
-
CallConvFastcall
- Attributes
Remarks
The __fastcall
calling convention specifies that arguments to functions be passed in registers, when possible.
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 manner that is not compatible with C++ by default.
You can emit custom modifiers into metadata using one of the following techniques:
Using methods in the TypeBuilder class like DefineMethod, DefineField, DefineConstructor, and DefineProperty.
Generating a Microsoft intermediate language (MSIL) instruction file that contains calls to
modopt
andmodreq
, and assembling the file with the Ilasm.exe (IL Assembler).Using the unmanaged reflection API.
Constructors
CallConvFastcall() |
Initializes a new instance of the CallConvFastcall class. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |