1 write to NewLineTrivia
Microsoft.CodeAnalysis.Features (1)
Wrapping\AbstractCodeActionComputer.cs (1)
76
NewLineTrivia
= 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
);
117
result.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
,
331
result.Add(Edit.UpdateBetween(itemsAndSeparators[i - 1],
NewLineTrivia
, indentationTrivia, item));
349
itemsAndSeparators.Last(),
NewLineTrivia
,
432
_listSyntax.GetFirstToken().GetPreviousToken(),
NewLineTrivia
,
452
comma,
NewLineTrivia
, indentationTrivia, itemsAndSeparators[i + 1]));
459
itemsAndSeparators.Last(),
NewLineTrivia
,