public DynamicILGenerator(System.Reflection.Emit.DynamicMethod dynamicMethod)
{
if (dynamicMethod == null)
throw new ArgumentNullException("dynamicMethod");
this.dynamicMethod = dynamicMethod;
this.dynamicILInfo = dynamicMethod.GetDynamicILInfo();
this.bytes = new byte[100];
this.localVariables = new List<DynamicILLocalVariable>();
this.signatureHelper = System.Reflection.Emit.SignatureHelper.GetLocalVarSigHelper(null);
this.labels = new List<DynamicILLabel>();
this.fixups = new List<Fixup>();
#if DEBUG
this.operands = new Stack<VESType>();
#endif
}