AsmResolver.Net.Msil.MsilDisassembler.ReadNextInstruction C# (CSharp) Method

ReadNextInstruction() private method

private ReadNextInstruction ( ) : MsilInstruction
return MsilInstruction
        private MsilInstruction ReadNextInstruction()
        {
            var offset = (int)(_reader.Position - _reader.StartPosition);

            var b = _reader.ReadByte();

            var code = b == 0xFE
                ? MsilOpCodes.MultiByteOpCodes[_reader.ReadByte()]
                : MsilOpCodes.SingleByteOpCodes[b];

            var operand = ReadRawOperand(_reader, code.OperandType);

            return new MsilInstruction(offset, code, operand);
        }