public static void Write(this ReportLabels reportLabels, CSideWriter writer)
        {
            writer.BeginSection("LABELS");

            foreach (var reportLabel in reportLabels)
            {
                reportLabel.Write(writer);
            }

            writer.EndSection();
        }
        public static void Write(this ReportLabels reportLabels, CSideWriter writer)
        {
            if (writer.CodeStyle.DoNotPrintEmptyLabels)
            {
                if (!reportLabels.Any())
                {
                    return;
                }
            }

            writer.BeginSection("LABELS");

            foreach (var reportLabel in reportLabels)
            {
                reportLabel.Write(writer);
            }

            writer.EndSection();
        }
 public static IEnumerable <Invocation> ToInvocations(this ReportLabels reportLabels) => reportLabels.Select(l => l.ToInvocation());