This documentation is archived and is not being maintained.

ILGenerator Class

Generates Microsoft intermediate language (MSIL) instructions.

For a list of all members of this type, see ILGenerator Members.


[Visual Basic]
Public Class ILGenerator
public class ILGenerator
public __gc class ILGenerator
public class ILGenerator

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.


MSIL is used as input to a just-in-time (JIT) compiler.


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)

See Also

ILGenerator Members | System.Reflection.Emit Namespace