public override SyntaxToken VisitToken(SyntaxToken token) { if (_separators.Contains(token)) { SyntaxTriviaList triviaList = token.TrailingTrivia; if (!triviaList.ContainsEndOfLine()) { return(token.WithTrailingTrivia(triviaList.TrimTrailingWhitespace().Add(SyntaxHelper.NewLine))); } } return(base.VisitToken(token)); }