This documentation is archived and is not being maintained.
MethodRental Class
.NET Framework 1.1
Provides a fast way to swap method body implementation given a method of a class.
For a list of all members of this type, see MethodRental Members.
System.Object
System.Reflection.Emit.MethodRental
[Visual Basic] NotInheritable Public Class MethodRental [C#] public sealed class MethodRental [C++] public __gc __sealed class MethodRental [JScript] public class MethodRental
Thread Safety
Reflection Emit is thread-safe when using assemblies that were created with the AppDomain.DefineDynamicAssembly method with the Boolean parameter isSynchronized set to true.
Requirements
Namespace: System.Reflection.Emit
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
.NET Framework Security:
- ReflectionPermission when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess.
See Also
Show: