15 references to AddResidualTrivia
Microsoft.CodeAnalysis.CSharp (15)
Syntax\SyntaxNodeRemover.cs (15)
297
this.
AddResidualTrivia
(node.GetLeadingTrivia());
311
this.
AddResidualTrivia
(node.GetTrailingTrivia());
320
this.
AddResidualTrivia
(SyntaxFactory.TriviaList(SyntaxFactory.ElasticMarker));
329
this.
AddResidualTrivia
(token.LeadingTrivia);
330
this.
AddResidualTrivia
(token.TrailingTrivia);
331
this.
AddResidualTrivia
(node.GetLeadingTrivia());
351
this.
AddResidualTrivia
(node.GetTrailingTrivia());
360
this.
AddResidualTrivia
(SyntaxFactory.TriviaList(SyntaxFactory.ElasticMarker));
369
this.
AddResidualTrivia
(node.GetLeadingTrivia());
385
this.
AddResidualTrivia
(node.GetTrailingTrivia());
386
this.
AddResidualTrivia
(token.LeadingTrivia);
387
this.
AddResidualTrivia
(token.TrailingTrivia);
400
this.
AddResidualTrivia
(SyntaxFactory.TriviaList(SyntaxFactory.ElasticMarker));
475
AddResidualTrivia
(SyntaxFactory.TriviaList(indentationTrivia, parentTrivia), requiresNewLine: true);
479
AddResidualTrivia
(SyntaxFactory.TriviaList(parentTrivia), requiresNewLine: true);