Mono.Cecil.Tests.Formatter.FormatInstruction C# (CSharp) Method

FormatInstruction() public static method

public static FormatInstruction ( Instruction instruction ) : string
instruction Mono.Cecil.Cil.Instruction
return string
        public static string FormatInstruction(Instruction instruction)
        {
            var writer = new StringWriter ();
            WriteInstruction (writer, instruction);
            return writer.ToString ();
        }