System.Reflection.Emit.DynamicILInfo.SetCode C# (CSharp) Method

SetCode() public method

public SetCode ( byte code, int maxStackSize ) : void
code byte
maxStackSize int
return void
        public void SetCode(byte[] code, int maxStackSize)
        {
            if (code == null)
                code = new byte[0];

            m_code = (byte[])code.Clone();
            m_maxStackSize = maxStackSize;
        }
        

Same methods

DynamicILInfo::SetCode ( byte code, int codeSize, int maxStackSize ) : void