Provides a fast way to swap method body implementation given a method of a class.
See Also:
MethodRental Members
Syntax
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComDefaultInterface(typeof(System.Runtime.InteropServices._MethodRental))]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class
MethodRental :
System.Runtime.InteropServices._MethodRentalRemarks
Requirements
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0