SharpDisasm/Disassembler.cs
/// <summary>
/// Disassemble instructions and yield the result. Breaking out of the enumerator will prevent further instructions being disassembled.
/// </summary>
/// <returns>An IEnumerable collection of disassembled instructions</returns>
Disassemble instructions and yield the result. Breaking out of the enumerator will prevent further instructions being disassembled.
Disassemble instructions and yield the result . Breaking out of the enumerator will prevent further instructions being disassembled .
public IEnumerable<Instruction> Disassemble()
        {
            Reset();
            Instruction instruction = null;
            while ((instruction = NextInstruction()) != null)
            {
                yield return instruction;
            }
        }
public IEnumerable < Instruction > Disassemble ( ) { Reset ( ) ; Instruction instruction = null ; while ( ( instruction = NextInstruction ( ) ) != null ) { yield return instruction ; } }
Disassemble instructions and yield the result.
Disassemble instructions and yield the result .
An IEnumerable collection of disassembled instructions
An IEnumerable collection of disassembled instructions