internal void InternalEmit(OpCode opcode)
 {
     if (opcode.m_size == 1)
     {
         this.m_ILStream[this.m_length++] = opcode.m_s2;
     }
     else
     {
         this.m_ILStream[this.m_length++] = opcode.m_s1;
         this.m_ILStream[this.m_length++] = opcode.m_s2;
     }
     this.UpdateStackSize(opcode, opcode.StackChange());
 }
예제 #2
0
        internal void InternalEmit(OpCode opcode)
        {
            if (opcode.Size != 1)
            {
                m_ILStream[m_length++] = (byte)(opcode.Value >> 8);
            }

            m_ILStream[m_length++] = (byte)opcode.Value;

            UpdateStackSize(opcode, opcode.StackChange());

        }
 internal void InternalEmit(OpCode opcode)
 {
     if (opcode.m_size == 1)
     {
         this.m_ILStream[this.m_length++] = opcode.m_s2;
     }
     else
     {
         this.m_ILStream[this.m_length++] = opcode.m_s1;
         this.m_ILStream[this.m_length++] = opcode.m_s2;
     }
     this.UpdateStackSize(opcode, opcode.StackChange());
 }
예제 #4
0
		private void internalEmit(OpCode opcode)
		{
            if (opcode.m_size == 1) {
                m_ILStream[m_length++] = opcode.m_s2;
            } else {
                m_ILStream[m_length++] = opcode.m_s1;
                m_ILStream[m_length++] = opcode.m_s2;
            }

			UpdateStackSize(opcode, opcode.StackChange());

		}