14 references to AddResidualTrivia
Microsoft.CodeAnalysis.CSharp (14)
Syntax\SyntaxNodeRemover.cs (14)
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));
468
AddResidualTrivia
(SyntaxFactory.TriviaList(directive.ParentTrivia), requiresNewLine: true);