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

WriteLabelList() static private method

static private WriteLabelList ( TextWriter writer, Instruction instructions ) : void
writer System.IO.TextWriter
instructions Mono.Cecil.Cil.Instruction
return void
        static void WriteLabelList(TextWriter writer, Instruction [] instructions)
        {
            writer.Write ("(");

            for (int i = 0; i < instructions.Length; i++) {
                if (i != 0) writer.Write (", ");
                writer.Write (FormatLabel (instructions [i].Offset));
            }

            writer.Write (")");
        }