Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

© 2016 Microsoft