Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.
An System.Reflection.Emit.ILGenerator object for the method, with the specified MSIL stream size.
After a dynamic method has been completed, by calling the erload:System.Reflection.Emit.DynamicMethod.CreateDelegate or erload:System.Reflection.Emit.DynamicMethod.Invoke method, any further attempt to add MSIL is ignored. No exception is thrown.
There are restrictions on unverifiable code in dynamic methods, even in some full-trust scenarios. See the "Verification" section in Remarks for System.Reflection.Emit.DynamicMethod.