15 references to AddResidualTrivia
Microsoft.CodeAnalysis.CSharp (15)
Syntax\SyntaxNodeRemover.cs (15)
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)); 475AddResidualTrivia(SyntaxFactory.TriviaList(indentationTrivia, parentTrivia), requiresNewLine: true); 479AddResidualTrivia(SyntaxFactory.TriviaList(parentTrivia), requiresNewLine: true);