MethodBuilder.CreateMethodBody Method (Byte, Int32)
Creates the body of the method using a supplied byte array of Microsoft intermediate language (MSIL) instructions.
Assembly: mscorlib (in mscorlib.dll)
The count is not within the range of indexes of the supplied MSIL instruction array and il is not null.
This method creates the method's body from il, an array containing MSIL instructions as opcodes. The number of bytes of valid MSIL is given by count.
This is currently not fully supported. The user cannot supply the location of token fix ups and exception handlers.
Available since 1.1
Available since 2.0