1 write to NewLineTrivia
Microsoft.CodeAnalysis.Features (1)
Wrapping\AbstractCodeActionComputer.cs (1)
76NewLineTrivia = new SyntaxTriviaList(generatorInternal.EndOfLine(options.FormattingOptions.NewLine));
10 references to NewLineTrivia
Microsoft.CodeAnalysis.Features (10)
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (2)
59_newlineBeforeOperatorTrivia = service.GetNewLineBeforeOperatorTrivia(NewLineTrivia); 117result.Add(Edit.UpdateBetween(opToken, NewLineTrivia, indentationTrivia, right));
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
90_newlineBeforeOperatorTrivia = service.GetNewLineBeforeOperatorTrivia(NewLineTrivia);
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (7)
100? Edit.UpdateBetween(_listSyntax.GetFirstToken(), NewLineTrivia, await _singleIndentationTrivia.GetValueAsync(cancellationToken).ConfigureAwait(false), _listItems[0]) 297_listSyntax.GetFirstToken().GetPreviousToken(), NewLineTrivia, 331result.Add(Edit.UpdateBetween(itemsAndSeparators[i - 1], NewLineTrivia, indentationTrivia, item)); 349itemsAndSeparators.Last(), NewLineTrivia, 432_listSyntax.GetFirstToken().GetPreviousToken(), NewLineTrivia, 452comma, NewLineTrivia, indentationTrivia, itemsAndSeparators[i + 1])); 459itemsAndSeparators.Last(), NewLineTrivia,