public override SyntaxNode VisitUsingDirective(UsingDirectiveSyntax node) { if (node == null) { throw new ArgumentNullException(nameof(node)); } if (node.UsingKeyword.TrailingTrivia.FullSpan.IsEmpty) { node = node.WithUsingKeyword(node.UsingKeyword.WithTrailingTrivia(SyntaxFactory.Space)); } if (node.SemicolonToken.TrailingTrivia.FullSpan.IsEmpty) { node = node.WithSemicolonToken(node.SemicolonToken.WithTrailingTrivia(this.newLineTrivia)); } return node; }