MethodRental Members

Provides a fast way to swap method body implementation given a method of a class.

The following tables list the members exposed by the MethodRental type.

  Name Description
Public field Static JitImmediate Specifies that the method should be just-in-time (JIT) compiled immediately.
Public field Static JitOnDemand Specifies that the method should be just-in-time (JIT) compiled when needed.

  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static SwapMethodBody Swaps the body of a method.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Explicit interface implementation Method System.Runtime.InteropServices._MethodRental.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implementation Method System.Runtime.InteropServices._MethodRental.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implementation Method System.Runtime.InteropServices._MethodRental.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implementation Method System.Runtime.InteropServices._MethodRental.Invoke Provides access to properties and methods exposed by an object.