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