Jurassic.Compiler.DynamicILGenerator.DynamicILGenerator C# (CSharp) Method

DynamicILGenerator() public method

Creates a new DynamicILGenerator instance.
public DynamicILGenerator ( System dynamicMethod ) : System
dynamicMethod System The dynamic method to generate code for.
return System
        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
        }
DynamicILGenerator