Exemplo n.º 1
0
        public override VisualBasicSyntaxNode VisitAttributeList(CsSyntax.AttributeListSyntax node)
        {
            var convertedNode = DefaultVisitInner(node)
                                .WithPrependedLeadingTrivia(SyntaxFactory.EndOfLineTrivia(Environment.NewLine));

            return(convertedNode);
        }
        public override VisualBasicSyntaxNode VisitAttributeList(CsSyntax.AttributeListSyntax node)
        {
            var convertedNode = _wrappedVisitor.Visit(node)
                                .WithPrependedLeadingTrivia(SyntaxFactory.EndOfLineTrivia(Environment.NewLine));

            return(TriviaConverter.PortConvertedTrivia(node, convertedNode));
        }
 public override VisualBasicSyntaxNode VisitAttributeList(CSS.AttributeListSyntax node)
 {
     return(SyntaxFactory.AttributeList(SyntaxFactory.SeparatedList(node.Attributes.Select(a => (AttributeSyntax)a.Accept(this)))));
 }