Ejemplo n.º 1
0
        protected override void Test(string expected, IEnumerable <SyntaxNode> nodes, Printer.Configuration.SyntaxPrinterConfiguration configuration)
        {
            var triviaAdder = new TriviaAdder();

            foreach (var node in nodes)
            {
                node.Accept(triviaAdder);
            }

            base.Test(expected, nodes, configuration);
        }
Ejemplo n.º 2
0
        protected override void Test(string expected, IEnumerable<SyntaxNode> nodes, Printer.Configuration.SyntaxPrinterConfiguration configuration)
        {
            var triviaAdder = new TriviaAdder();

            foreach (var node in nodes)
            {
                node.Accept(triviaAdder);
            }

            base.Test(expected, nodes, configuration);
        }